home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 …ember: Reference Library / Dev.CD Dec 94.toast / Technical Documentation / Mac Tech Notes (DocViewer) / TB • Toolbox / TB40 Partial Resource < prev    next >
MacBinary  |  1994-10-19  |  36.8 KB  |  [ONLN/HLX2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Mon Oct 17 07:44:36 1994, modified Wed Oct 19 12:07:05 1994, creator 'HLX2', type 'ONLN', 35484 bytes "TB40 Partial Resource" , at 0x8b1c 1909 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[ONLN]
macFileCreator[HLX2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 15 54 42 34 30 20 50 | 61 72 74 69 61 6c 20 52 |..TB40 P|artial R|
|00000010| 65 73 6f 75 72 63 65 00 | 00 00 00 00 00 00 00 00 |esource.|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 00 8a 9c 00 | 00 07 75 aa c8 14 24 aa |........|..u...$.|
|00000060| ca f4 a9 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 bf 21 00 00 |........|.....!..|
|00000080| 54 42 20 34 30 20 2d 20 | 50 61 72 74 69 61 6c 20 |TB 40 - |Partial |
|00000090| 52 65 73 6f 75 72 63 65 | 20 4d 79 74 68 73 20 61 |Resource| Myths a|
|000000a0| 6e 64 20 4c 65 67 65 6e | 64 73 0d 54 6f 6f 6c 62 |nd Legen|ds.Toolb|
|000000b0| 6f 78 09 0d 57 72 69 74 | 74 65 6e 20 62 79 3a 09 |ox..Writ|ten by:.|
|000000c0| 53 74 65 76 65 20 53 74 | 65 70 68 65 6e 73 6f 6e |Steve St|ephenson|
|000000d0| 09 41 70 72 69 6c 20 31 | 39 39 34 0d 54 68 69 73 |.April 1|994.This|
|000000e0| 20 54 65 63 68 6e 69 63 | 61 6c 20 4e 6f 74 65 20 | Technic|al Note |
|000000f0| 63 6f 72 72 65 63 74 73 | 20 61 6e 64 20 63 6c 61 |corrects| and cla|
|00000100| 72 69 66 69 65 73 20 49 | 6e 73 69 64 65 20 4d 61 |rifies I|nside Ma|
|00000110| 63 69 6e 74 6f 73 68 3a | 20 4d 6f 72 65 20 4d 61 |cintosh:| More Ma|
|00000120| 63 69 6e 74 6f 73 68 20 | 54 6f 6f 6c 62 6f 78 20 |cintosh |Toolbox |
|00000130| 66 6f 72 20 74 68 65 20 | 52 65 61 64 50 61 72 74 |for the |ReadPart|
|00000140| 69 61 6c 52 65 73 6f 75 | 72 63 65 20 61 6e 64 20 |ialResou|rce and |
|00000150| 57 72 69 74 65 50 61 72 | 74 69 61 6c 52 65 73 6f |WritePar|tialReso|
|00000160| 75 72 63 65 20 63 61 6c | 6c 73 2e 0d 54 68 72 65 |urce cal|ls..Thre|
|00000170| 65 20 42 6f 67 75 73 20 | 45 72 72 6f 72 20 43 6f |e Bogus |Error Co|
|00000180| 64 65 73 0d 54 68 65 20 | 64 6f 63 75 6d 65 6e 74 |des.The |document|
|00000190| 61 74 69 6f 6e 20 66 6f | 72 20 72 65 61 64 69 6e |ation fo|r readin|
|000001a0| 67 20 61 6e 64 20 77 72 | 69 74 69 6e 67 20 70 61 |g and wr|iting pa|
|000001b0| 72 74 69 61 6c 20 72 65 | 73 6f 75 72 63 65 73 20 |rtial re|sources |
|000001c0| 69 73 20 69 6e 63 6f 72 | 72 65 63 74 20 69 6e 20 |is incor|rect in |
|000001d0| 74 68 72 65 65 20 69 6d | 70 6f 72 74 61 6e 74 20 |three im|portant |
|000001e0| 77 61 79 73 d1 69 74 20 | 73 74 61 74 65 73 20 74 |ways.it |states t|
|000001f0| 68 61 74 20 74 68 65 20 | 52 65 73 6f 75 72 63 65 |hat the |Resource|
|00000200| 20 4d 61 6e 61 67 65 72 | 20 72 65 74 75 72 6e 73 | Manager| returns|
|00000210| 20 65 72 72 6f 72 20 63 | 6f 64 65 73 20 74 6f 20 | error c|odes to |
|00000220| 70 72 6f 74 65 63 74 20 | 79 6f 75 20 61 67 61 69 |protect |you agai|
|00000230| 6e 73 74 20 62 61 64 20 | 69 6e 70 75 74 73 2c 20 |nst bad |inputs, |
|00000240| 77 68 65 6e 20 69 74 20 | 64 6f 65 73 20 6e 6f 20 |when it |does no |
|00000250| 73 75 63 68 20 74 68 69 | 6e 67 2e 20 20 54 68 72 |such thi|ng. Thr|
|00000260| 65 65 20 6f 66 20 74 68 | 65 20 65 72 72 6f 72 73 |ee of th|e errors|
|00000270| 20 64 65 73 63 72 69 62 | 65 64 20 69 6e 20 52 65 | describ|ed in Re|
|00000280| 73 6f 75 72 63 65 20 4d | 61 6e 61 67 65 72 20 64 |source M|anager d|
|00000290| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 61 72 65 |ocumenta|tion are|
|000002a0| 20 63 6f 6d 70 6c 65 74 | 65 6c 79 20 65 72 72 6f | complet|ely erro|
|000002b0| 6e 65 6f 75 73 20 61 6e | 64 20 61 72 65 20 6e 65 |neous an|d are ne|
|000002c0| 76 65 72 20 72 65 74 75 | 72 6e 65 64 20 62 79 20 |ver retu|rned by |
|000002d0| 52 65 73 6f 75 72 63 65 | 20 4d 61 6e 61 67 65 72 |Resource| Manager|
|000002e0| 20 72 6f 75 74 69 6e 65 | 73 2e 20 20 54 68 6f 73 | routine|s. Thos|
|000002f0| 65 20 63 6f 64 65 73 20 | 61 72 65 3a 0d 31 2e 20 |e codes |are:.1. |
|00000300| 69 6e 70 75 74 4f 75 74 | 4f 66 42 6f 75 6e 64 73 |inputOut|OfBounds|
|00000310| 20 64 6f 65 73 20 6e 6f | 74 20 65 78 69 73 74 0d | does no|t exist.|
|00000320| 49 6e 73 69 64 65 20 4d | 61 63 69 6e 74 6f 73 68 |Inside M|acintosh|
|00000330| 3a 20 4d 6f 72 65 20 4d | 61 63 69 6e 74 6f 73 68 |: More M|acintosh|
|00000340| 20 54 6f 6f 6c 62 6f 78 | 20 20 73 74 61 74 65 73 | Toolbox| states|
|00000350| 20 74 68 61 74 20 74 68 | 65 20 52 65 61 64 50 61 | that th|e ReadPa|
|00000360| 72 74 69 61 6c 52 65 73 | 6f 75 72 63 65 20 61 6e |rtialRes|ource an|
|00000370| 64 20 57 72 69 74 65 50 | 61 72 74 69 61 6c 52 65 |d WriteP|artialRe|
|00000380| 73 6f 75 72 63 65 20 63 | 61 6c 6c 73 20 63 68 65 |source c|alls che|
|00000390| 63 6b 20 79 6f 75 72 20 | 63 6f 75 6e 74 20 61 6e |ck your |count an|
|000003a0| 64 20 6f 66 66 73 65 74 | 20 69 6e 70 75 74 20 70 |d offset| input p|
|000003b0| 61 72 61 6d 65 74 65 72 | 73 20 61 6e 64 20 72 65 |arameter|s and re|
|000003c0| 74 75 72 6e 20 69 6e 70 | 75 74 4f 75 74 4f 66 42 |turn inp|utOutOfB|
|000003d0| 6f 75 6e 64 73 20 69 66 | 20 74 68 65 79 20 61 72 |ounds if| they ar|
|000003e0| 65 20 6f 75 74 20 6f 66 | 20 72 61 6e 67 65 2e 20 |e out of| range. |
|000003f0| 54 68 69 73 20 69 73 20 | 6e 6f 74 20 74 72 75 65 |This is |not true|
|00000400| 3b 20 74 68 65 20 6f 6e | 6c 79 20 63 68 65 63 6b |; the on|ly check|
|00000410| 20 6f 6e 20 79 6f 75 72 | 20 69 6e 70 75 74 20 70 | on your| input p|
|00000420| 61 72 61 6d 65 74 65 72 | 73 20 69 73 20 74 68 65 |arameter|s is the|
|00000430| 20 76 65 72 69 66 69 63 | 61 74 69 6f 6e 20 6f 66 | verific|ation of|
|00000440| 20 79 6f 75 72 20 72 65 | 73 6f 75 72 63 65 20 68 | your re|source h|
|00000450| 61 6e 64 6c 65 2e 20 54 | 68 65 20 72 65 73 75 6c |andle. T|he resul|
|00000460| 74 20 63 6f 64 65 20 69 | 6e 70 75 74 4f 75 74 4f |t code i|nputOutO|
|00000470| 66 42 6f 75 6e 64 73 20 | 69 73 20 63 6f 6d 70 6c |fBounds |is compl|
|00000480| 65 74 65 6c 79 20 65 72 | 72 6f 6e 65 6f 75 73 20 |etely er|roneous |
|00000490| 61 6e 64 20 69 73 20 6e | 6f 74 20 72 65 74 75 72 |and is n|ot retur|
|000004a0| 6e 65 64 20 62 79 20 61 | 6e 79 20 52 65 73 6f 75 |ned by a|ny Resou|
|000004b0| 72 63 65 20 4d 61 6e 61 | 67 65 72 20 63 61 6c 6c |rce Mana|ger call|
|000004c0| 2e 0d 32 2e 20 72 65 73 | 6f 75 72 63 65 49 6e 4d |..2. res|ourceInM|
|000004d0| 65 6d 6f 72 79 20 69 73 | 20 6e 65 76 65 72 20 72 |emory is| never r|
|000004e0| 65 74 75 72 6e 65 64 0d | 54 68 65 20 64 6f 63 75 |eturned.|The docu|
|000004f0| 6d 65 6e 74 61 74 69 6f | 6e 20 61 6c 73 6f 20 69 |mentatio|n also i|
|00000500| 6e 64 69 63 61 74 65 73 | 20 74 68 61 74 20 74 68 |ndicates| that th|
|00000510| 65 20 52 65 73 6f 75 72 | 63 65 20 4d 61 6e 61 67 |e Resour|ce Manag|
|00000520| 65 72 20 72 65 74 75 72 | 6e 73 20 74 68 65 20 63 |er retur|ns the c|
|00000530| 6f 64 65 20 72 65 73 6f | 75 72 63 65 49 6e 4d 65 |ode reso|urceInMe|
|00000540| 6d 6f 72 79 20 69 66 20 | 74 68 65 20 72 65 73 6f |mory if |the reso|
|00000550| 75 72 63 65 20 68 61 6e | 64 6c 65 20 69 73 20 6e |urce han|dle is n|
|00000560| 6f 74 20 65 6d 70 74 79 | 2e 20 20 54 68 69 73 20 |ot empty|. This |
|00000570| 74 6f 6f 20 69 73 20 66 | 61 6c 73 65 3b 20 74 68 |too is f|alse; th|
|00000580| 65 20 6f 6e 6c 79 20 74 | 65 73 74 20 70 65 72 66 |e only t|est perf|
|00000590| 6f 72 6d 65 64 20 6f 6e | 20 79 6f 75 72 20 72 65 |ormed on| your re|
|000005a0| 73 6f 75 72 63 65 20 68 | 61 6e 64 6c 65 20 69 73 |source h|andle is|
|000005b0| 20 77 68 65 74 68 65 72 | 20 69 74 20 69 73 20 69 | whether| it is i|
|000005c0| 6e 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 6d 61 |n the cu|rrent ma|
|000005d0| 70 20 63 68 61 69 6e 2e | 20 54 68 65 20 72 65 73 |p chain.| The res|
|000005e0| 75 6c 74 20 63 6f 64 65 | 20 72 65 73 6f 75 72 63 |ult code| resourc|
|000005f0| 65 49 6e 4d 65 6d 6f 72 | 79 20 69 73 20 63 6f 6d |eInMemor|y is com|
|00000600| 70 6c 65 74 65 6c 79 20 | 65 72 72 6f 6e 65 6f 75 |pletely |erroneou|
|00000610| 73 20 61 6e 64 20 69 73 | 20 6e 6f 74 20 72 65 74 |s and is| not ret|
|00000620| 75 72 6e 65 64 20 62 79 | 20 61 6e 79 20 52 65 73 |urned by| any Res|
|00000630| 6f 75 72 63 65 20 4d 61 | 6e 61 67 65 72 20 63 61 |ource Ma|nager ca|
|00000640| 6c 6c 2e 0d 33 2e 20 77 | 72 69 74 69 6e 67 50 61 |ll..3. w|ritingPa|
|00000650| 73 74 45 6e 64 20 69 73 | 20 61 20 66 69 67 6d 65 |stEnd is| a figme|
|00000660| 6e 74 20 6f 66 20 6f 75 | 72 20 69 6d 61 67 69 6e |nt of ou|r imagin|
|00000670| 61 74 69 6f 6e 0d 49 6e | 20 74 68 65 20 63 61 73 |ation.In| the cas|
|00000680| 65 20 6f 66 20 57 72 69 | 74 65 50 61 72 74 69 61 |e of Wri|tePartia|
|00000690| 6c 52 65 73 6f 75 72 63 | 65 2c 20 69 66 20 74 68 |lResourc|e, if th|
|000006a0| 65 20 63 6f 6d 62 69 6e | 61 74 69 6f 6e 20 6f 66 |e combin|ation of|
|000006b0| 20 74 68 65 20 6f 66 66 | 73 65 74 20 61 6e 64 20 | the off|set and |
|000006c0| 74 68 65 20 63 6f 75 6e | 74 20 77 6f 75 6c 64 20 |the coun|t would |
|000006d0| 65 78 74 65 6e 64 20 74 | 68 65 20 77 72 69 74 65 |extend t|he write|
|000006e0| 20 72 65 71 75 65 73 74 | 20 70 61 73 74 20 74 68 | request| past th|
|000006f0| 65 20 65 6e 64 20 6f 66 | 20 74 68 65 20 72 65 73 |e end of| the res|
|00000700| 6f 75 72 63 65 20 6f 6e | 20 64 69 73 6b 2c 20 74 |ource on| disk, t|
|00000710| 68 65 20 64 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e |he docum|entation|
|00000720| 20 69 6e 64 69 63 61 74 | 65 73 20 74 68 61 74 20 | indicat|es that |
|00000730| 74 68 65 20 72 6f 75 74 | 69 6e 65 20 65 6e 6c 61 |the rout|ine enla|
|00000740| 72 67 65 73 20 74 68 65 | 20 72 65 73 6f 75 72 63 |rges the| resourc|
|00000750| 65 20 61 6e 64 20 72 65 | 74 75 72 6e 73 20 74 68 |e and re|turns th|
|00000760| 65 20 72 65 73 75 6c 74 | 20 63 6f 64 65 20 77 72 |e result| code wr|
|00000770| 69 74 69 6e 67 50 61 73 | 74 45 6e 64 2e 20 54 68 |itingPas|tEnd. Th|
|00000780| 69 73 20 69 73 20 6e 6f | 74 20 74 72 75 65 3b 20 |is is no|t true; |
|00000790| 69 74 20 64 6f 65 73 20 | 6e 6f 74 20 61 75 74 6f |it does |not auto|
|000007a0| 6d 61 74 69 63 61 6c 6c | 79 20 72 65 73 69 7a 65 |maticall|y resize|
|000007b0| 20 74 68 65 20 72 65 73 | 6f 75 72 63 65 20 61 6e | the res|ource an|
|000007c0| 64 20 62 6c 69 6e 64 6c | 79 20 6f 76 65 72 77 72 |d blindl|y overwr|
|000007d0| 69 74 65 73 20 61 6e 79 | 20 64 61 74 61 20 69 6e |ites any| data in|
|000007e0| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 72 | the fol|lowing r|
|000007f0| 65 73 6f 75 72 63 65 2e | 20 20 49 66 20 69 74 20 |esource.| If it |
|00000800| 69 73 20 79 6f 75 72 20 | 69 6e 74 65 6e 74 20 74 |is your |intent t|
|00000810| 6f 20 65 6e 6c 61 72 67 | 65 20 74 68 65 20 72 65 |o enlarg|e the re|
|00000820| 73 6f 75 72 63 65 2c 20 | 79 6f 75 20 6d 75 73 74 |source, |you must|
|00000830| 20 63 61 6c 6c 20 53 65 | 74 52 65 73 6f 75 72 63 | call Se|tResourc|
|00000840| 65 53 69 7a 65 20 70 72 | 69 6f 72 20 74 6f 20 74 |eSize pr|ior to t|
|00000850| 68 65 20 77 72 69 74 65 | 2e 20 54 68 65 20 72 65 |he write|. The re|
|00000860| 73 75 6c 74 20 63 6f 64 | 65 20 77 72 69 74 69 6e |sult cod|e writin|
|00000870| 67 50 61 73 74 45 6e 64 | 20 69 73 20 63 6f 6d 70 |gPastEnd| is comp|
|00000880| 6c 65 74 65 6c 79 20 65 | 72 72 6f 6e 65 6f 75 73 |letely e|rroneous|
|00000890| 20 61 6e 64 20 69 73 20 | 6e 6f 74 20 72 65 74 75 | and is |not retu|
|000008a0| 72 6e 65 64 20 62 79 20 | 61 6e 79 20 52 65 73 6f |rned by |any Reso|
|000008b0| 75 72 63 65 20 4d 61 6e | 61 67 65 72 20 63 61 6c |urce Man|ager cal|
|000008c0| 6c 2e 0d 52 65 70 6c 61 | 63 65 6d 65 6e 74 20 50 |l..Repla|cement P|
|000008d0| 61 72 74 69 61 6c 20 52 | 65 73 6f 75 72 63 65 20 |artial R|esource |
|000008e0| 44 6f 63 75 6d 65 6e 74 | 61 74 69 6f 6e 0d 54 68 |Document|ation.Th|
|000008f0| 65 20 63 6f 72 72 65 63 | 74 20 74 65 78 74 20 64 |e correc|t text d|
|00000900| 6f 63 75 6d 65 6e 74 69 | 6e 67 20 74 68 65 73 65 |ocumenti|ng these|
|00000910| 20 74 77 6f 20 72 6f 75 | 74 69 6e 65 73 20 66 6f | two rou|tines fo|
|00000920| 6c 6c 6f 77 73 2e 20 20 | 54 68 69 73 20 73 75 70 |llows. |This sup|
|00000930| 65 72 73 65 64 65 73 20 | 61 6c 6c 20 63 75 72 72 |ersedes |all curr|
|00000940| 65 6e 74 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |ent docu|mentatio|
|00000950| 6e 20 63 6f 6e 63 65 72 | 6e 69 6e 67 20 70 61 72 |n concer|ning par|
|00000960| 74 69 61 6c 20 72 65 73 | 6f 75 72 63 65 73 2c 20 |tial res|ources, |
|00000970| 69 6e 63 6c 75 64 69 6e | 67 3a 20 49 6e 73 69 64 |includin|g: Insid|
|00000980| 65 20 4d 61 63 69 6e 74 | 6f 73 68 2c 20 56 6f 6c |e Macint|osh, Vol|
|00000990| 75 6d 65 20 56 49 2c 20 | 70 61 67 65 73 20 31 33 |ume VI, |pages 13|
|000009a0| 2d 31 36 2d d0 31 37 2c | 20 31 33 2d 32 31 d0 32 |-16-.17,| 13-21.2|
|000009b0| 33 3b 20 61 6e 64 20 49 | 6e 73 69 64 65 20 4d 61 |3; and I|nside Ma|
|000009c0| 63 69 6e 74 6f 73 68 3a | 20 4d 6f 72 65 20 4d 61 |cintosh:| More Ma|
|000009d0| 63 69 6e 74 6f 73 68 20 | 54 6f 6f 6c 62 6f 78 2c |cintosh |Toolbox,|
|000009e0| 20 70 61 67 65 73 20 31 | 2d 31 31 31 2d d0 31 31 | pages 1|-111-.11|
|000009f0| 35 2e 0d 52 65 61 64 69 | 6e 67 20 61 6e 64 20 57 |5..Readi|ng and W|
|00000a00| 72 69 74 69 6e 67 20 50 | 61 72 74 69 61 6c 20 52 |riting P|artial R|
|00000a10| 65 73 6f 75 72 63 65 73 | 0d 59 6f 75 20 63 61 6e |esources|.You can|
|00000a20| 20 75 73 65 20 74 68 65 | 20 52 65 61 64 50 61 72 | use the| ReadPar|
|00000a30| 74 69 61 6c 52 65 73 6f | 75 72 63 65 2c 20 57 72 |tialReso|urce, Wr|
|00000a40| 69 74 65 50 61 72 74 69 | 61 6c 52 65 73 6f 75 72 |iteParti|alResour|
|00000a50| 63 65 2c 20 61 6e 64 20 | 53 65 74 52 65 73 6f 75 |ce, and |SetResou|
|00000a60| 72 63 65 53 69 7a 65 20 | 70 72 6f 63 65 64 75 72 |rceSize |procedur|
|00000a70| 65 73 20 74 6f 20 77 6f | 72 6b 20 77 69 74 68 20 |es to wo|rk with |
|00000a80| 61 20 70 6f 72 74 69 6f | 6e 20 6f 66 20 61 20 6c |a portio|n of a l|
|00000a90| 61 72 67 65 20 72 65 73 | 6f 75 72 63 65 20 74 68 |arge res|ource th|
|00000aa0| 61 74 20 6d 61 79 20 6e | 6f 74 20 6f 74 68 65 72 |at may n|ot other|
|00000ab0| 77 69 73 65 20 66 69 74 | 20 69 6e 20 6d 65 6d 6f |wise fit| in memo|
|00000ac0| 72 79 2e 0d 57 68 65 6e | 20 75 73 69 6e 67 20 70 |ry..When| using p|
|00000ad0| 61 72 74 69 61 6c 20 72 | 65 73 6f 75 72 63 65 20 |artial r|esource |
|00000ae0| 72 6f 75 74 69 6e 65 73 | 2c 20 79 6f 75 20 73 68 |routines|, you sh|
|00000af0| 6f 75 6c 64 20 63 61 6c | 6c 20 74 68 65 20 53 65 |ould cal|l the Se|
|00000b00| 74 52 65 73 4c 6f 61 64 | 20 70 72 6f 63 65 64 75 |tResLoad| procedu|
|00000b10| 72 65 2c 20 73 70 65 63 | 69 66 79 69 6e 67 20 46 |re, spec|ifying F|
|00000b20| 41 4c 53 45 20 66 6f 72 | 20 74 68 65 20 6c 6f 61 |ALSE for| the loa|
|00000b30| 64 20 70 61 72 61 6d 65 | 74 65 72 2c 20 62 65 66 |d parame|ter, bef|
|00000b40| 6f 72 65 20 79 6f 75 20 | 63 61 6c 6c 20 47 65 74 |ore you |call Get|
|00000b50| 52 65 73 6f 75 72 63 65 | 2e 20 55 73 69 6e 67 20 |Resource|. Using |
|00000b60| 74 68 65 20 53 65 74 52 | 65 73 4c 6f 61 64 20 70 |the SetR|esLoad p|
|00000b70| 72 6f 63 65 64 75 72 65 | 20 70 72 65 76 65 6e 74 |rocedure| prevent|
|00000b80| 73 20 74 68 65 20 52 65 | 73 6f 75 72 63 65 20 4d |s the Re|source M|
|00000b90| 61 6e 61 67 65 72 20 66 | 72 6f 6d 20 72 65 61 64 |anager f|rom read|
|00000ba0| 69 6e 67 20 74 68 65 20 | 65 6e 74 69 72 65 20 72 |ing the |entire r|
|00000bb0| 65 73 6f 75 72 63 65 20 | 69 6e 74 6f 20 6d 65 6d |esource |into mem|
|00000bc0| 6f 72 79 2e 20 42 65 20 | 73 75 72 65 20 74 6f 20 |ory. Be |sure to |
|00000bd0| 72 65 73 74 6f 72 65 20 | 74 68 65 20 6e 6f 72 6d |restore |the norm|
|00000be0| 61 6c 20 73 74 61 74 65 | 20 62 79 20 63 61 6c 6c |al state| by call|
|00000bf0| 69 6e 67 20 53 65 74 52 | 65 73 4c 6f 61 64 20 61 |ing SetR|esLoad a|
|00000c00| 67 61 69 6e 2c 20 77 69 | 74 68 20 74 68 65 20 6c |gain, wi|th the l|
|00000c10| 6f 61 64 20 70 61 72 61 | 6d 65 74 65 72 20 73 65 |oad para|meter se|
|00000c20| 74 20 74 6f 20 54 52 55 | 45 2c 20 69 6d 6d 65 64 |t to TRU|E, immed|
|00000c30| 69 61 74 65 6c 79 20 61 | 66 74 65 72 20 79 6f 75 |iately a|fter you|
|00000c40| 20 63 61 6c 6c 20 47 65 | 74 52 65 73 6f 75 72 63 | call Ge|tResourc|
|00000c50| 65 2e 20 54 68 65 6e 20 | 75 73 65 20 52 65 61 64 |e. Then |use Read|
|00000c60| 50 61 72 74 69 61 6c 52 | 65 73 6f 75 72 63 65 20 |PartialR|esource |
|00000c70| 74 6f 20 72 65 61 64 20 | 61 20 70 6f 72 74 69 6f |to read |a portio|
|00000c80| 6e 20 6f 66 20 74 68 65 | 20 72 65 73 6f 75 72 63 |n of the| resourc|
|00000c90| 65 20 69 6e 74 6f 20 61 | 20 62 75 66 66 65 72 20 |e into a| buffer |
|00000ca0| 61 6e 64 20 57 72 69 74 | 65 50 61 72 74 69 61 6c |and Writ|ePartial|
|00000cb0| 52 65 73 6f 75 72 63 65 | 20 61 73 20 6e 65 65 64 |Resource| as need|
|00000cc0| 65 64 20 74 6f 20 77 72 | 69 74 65 20 61 20 70 6f |ed to wr|ite a po|
|00000cd0| 72 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 72 65 73 |rtion of| the res|
|00000ce0| 6f 75 72 63 65 20 66 72 | 6f 6d 20 61 20 62 75 66 |ource fr|om a buf|
|00000cf0| 66 65 72 20 74 6f 20 64 | 69 73 6b 2e 0d 4e 6f 74 |fer to d|isk..Not|
|00000d00| 65 20 74 68 61 74 20 74 | 68 65 20 70 61 72 74 69 |e that t|he parti|
|00000d10| 61 6c 20 72 65 73 6f 75 | 72 63 65 73 20 72 6f 75 |al resou|rces rou|
|00000d20| 74 69 6e 65 73 20 77 6f | 72 6b 20 77 69 74 68 20 |tines wo|rk with |
|00000d30| 74 68 65 20 64 61 74 61 | 20 69 6e 20 74 68 65 20 |the data| in the |
|00000d40| 6d 65 6d 6f 72 79 20 70 | 6f 69 6e 74 65 64 20 74 |memory p|ointed t|
|00000d50| 6f 20 62 79 20 74 68 65 | 20 62 75 66 66 65 72 20 |o by the| buffer |
|00000d60| 70 61 72 61 6d 65 74 65 | 72 2c 20 6e 6f 74 20 74 |paramete|r, not t|
|00000d70| 68 65 20 6d 65 6d 6f 72 | 79 20 72 65 66 65 72 65 |he memor|y refere|
|00000d80| 6e 63 65 64 20 74 68 72 | 6f 75 67 68 20 74 68 65 |nced thr|ough the|
|00000d90| 20 72 65 73 6f 75 72 63 | 65 d5 73 20 68 61 6e 64 | resourc|e.s hand|
|00000da0| 6c 65 2e 20 54 68 65 72 | 65 66 6f 72 65 2c 20 79 |le. Ther|efore, y|
|00000db0| 6f 75 20 6d 61 79 20 65 | 78 70 65 72 69 65 6e 63 |ou may e|xperienc|
|00000dc0| 65 20 70 72 6f 62 6c 65 | 6d 73 20 69 66 20 79 6f |e proble|ms if yo|
|00000dd0| 75 20 68 61 76 65 20 61 | 20 63 6f 70 79 20 6f 66 |u have a| copy of|
|00000de0| 20 61 20 72 65 73 6f 75 | 72 63 65 20 69 6e 20 6d | a resou|rce in m|
|00000df0| 65 6d 6f 72 79 20 77 68 | 65 6e 20 79 6f 75 20 61 |emory wh|en you a|
|00000e00| 72 65 20 75 73 69 6e 67 | 20 74 68 65 20 70 61 72 |re using| the par|
|00000e10| 74 69 61 6c 20 72 65 73 | 6f 75 72 63 65 20 72 6f |tial res|ource ro|
|00000e20| 75 74 69 6e 65 73 2e 20 | 49 66 20 79 6f 75 20 68 |utines. |If you h|
|00000e30| 61 76 65 20 6d 6f 64 69 | 66 69 65 64 20 74 68 65 |ave modi|fied the|
|00000e40| 20 63 6f 70 79 20 69 6e | 20 6d 65 6d 6f 72 79 20 | copy in| memory |
|00000e50| 61 6e 64 20 74 68 65 6e | 20 61 63 63 65 73 73 20 |and then| access |
|00000e60| 74 68 65 20 72 65 73 6f | 75 72 63 65 20 6f 6e 20 |the reso|urce on |
|00000e70| 64 69 73 6b 20 75 73 69 | 6e 67 20 74 68 65 20 52 |disk usi|ng the R|
|00000e80| 65 61 64 50 61 72 74 69 | 61 6c 52 65 73 6f 75 72 |eadParti|alResour|
|00000e90| 63 65 20 70 72 6f 63 65 | 64 75 72 65 2c 20 52 65 |ce proce|dure, Re|
|00000ea0| 61 64 50 61 72 74 69 61 | 6c 52 65 73 6f 75 72 63 |adPartia|lResourc|
|00000eb0| 65 20 72 65 61 64 73 20 | 74 68 65 20 64 61 74 61 |e reads |the data|
|00000ec0| 20 6f 6e 20 64 69 73 6b | 2c 20 6e 6f 74 20 74 68 | on disk|, not th|
|00000ed0| 65 20 64 61 74 61 20 69 | 6e 20 6d 65 6d 6f 72 79 |e data i|n memory|
|00000ee0| 2c 20 77 68 69 63 68 20 | 69 73 20 72 65 66 65 72 |, which |is refer|
|00000ef0| 65 6e 63 65 64 20 74 68 | 72 6f 75 67 68 20 74 68 |enced th|rough th|
|00000f00| 65 20 72 65 73 6f 75 72 | 63 65 d5 73 20 68 61 6e |e resour|ce.s han|
|00000f10| 64 6c 65 2e 20 53 69 6d | 69 6c 61 72 6c 79 2c 20 |dle. Sim|ilarly, |
|00000f20| 57 72 69 74 65 50 61 72 | 74 69 61 6c 52 65 73 6f |WritePar|tialReso|
|00000f30| 75 72 63 65 20 77 72 69 | 74 65 73 20 64 61 74 61 |urce wri|tes data|
|00000f40| 20 66 72 6f 6d 20 74 68 | 65 20 73 70 65 63 69 66 | from th|e specif|
|00000f50| 69 65 64 20 62 75 66 66 | 65 72 2c 20 6e 6f 74 20 |ied buff|er, not |
|00000f60| 66 72 6f 6d 20 74 68 65 | 20 64 61 74 61 20 69 6e |from the| data in|
|00000f70| 20 6d 65 6d 6f 72 79 2c | 20 77 68 69 63 68 20 69 | memory,| which i|
|00000f80| 73 20 72 65 66 65 72 65 | 6e 63 65 64 20 74 68 72 |s refere|nced thr|
|00000f90| 6f 75 67 68 20 74 68 65 | 20 72 65 73 6f 75 72 63 |ough the| resourc|
|00000fa0| 65 d5 73 20 68 61 6e 64 | 6c 65 2e 0d 54 68 65 20 |e.s hand|le..The |
|00000fb0| 70 61 72 74 69 61 6c 20 | 72 65 73 6f 75 72 63 65 |partial |resource|
|00000fc0| 73 20 72 6f 75 74 69 6e | 65 73 20 64 6f 20 6e 6f |s routin|es do no|
|00000fd0| 74 20 64 65 63 6f 6d 70 | 72 65 73 73 20 41 70 70 |t decomp|ress App|
|00000fe0| 6c 65 d5 73 20 63 6f 6d | 70 72 65 73 73 65 64 20 |le.s com|pressed |
|00000ff0| 72 65 73 6f 75 72 63 65 | 20 66 6f 72 6d 61 74 2e |resource| format.|
|00001000| 20 20 49 74 20 69 73 20 | 6e 6f 74 20 72 65 61 6c | It is |not real|
|00001010| 6c 79 20 70 6f 73 73 69 | 62 6c 65 20 74 6f 20 64 |ly possi|ble to d|
|00001020| 65 63 6f 6d 70 72 65 73 | 73 20 70 61 72 74 20 6f |ecompres|s part o|
|00001030| 66 20 61 20 72 65 73 6f | 75 72 63 65 2c 20 73 69 |f a reso|urce, si|
|00001040| 6e 63 65 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |nce the |current |
|00001050| 64 65 63 6f 6d 70 72 65 | 73 73 69 6f 6e 20 6d 65 |decompre|ssion me|
|00001060| 74 68 6f 64 20 72 65 71 | 75 69 72 65 73 20 74 68 |thod req|uires th|
|00001070| 65 20 65 6e 74 69 72 65 | 20 72 65 73 6f 75 72 63 |e entire| resourc|
|00001080| 65 20 74 6f 20 62 65 20 | 69 6e 20 6d 65 6d 6f 72 |e to be |in memor|
|00001090| 79 20 66 6f 72 20 74 68 | 65 20 63 6f 6e 76 65 72 |y for th|e conver|
|000010a0| 73 69 6f 6e 20 74 6f 20 | 6f 63 63 75 72 2e 20 54 |sion to |occur. T|
|000010b0| 68 65 72 65 66 6f 72 65 | 2c 20 74 68 65 20 70 61 |herefore|, the pa|
|000010c0| 72 74 69 61 6c 20 72 65 | 73 6f 75 72 63 65 73 20 |rtial re|sources |
|000010d0| 72 6f 75 74 69 6e 65 73 | 20 73 68 6f 75 6c 64 20 |routines| should |
|000010e0| 6e 6f 74 20 62 65 20 75 | 73 65 64 20 77 68 65 6e |not be u|sed when|
|000010f0| 20 74 68 65 20 64 61 74 | 61 20 69 73 20 69 6e 20 | the dat|a is in |
|00001100| 41 70 70 6c 65 d5 73 20 | 70 72 6f 70 72 69 65 74 |Apple.s |propriet|
|00001110| 61 72 79 20 66 6f 72 6d | 61 74 2e 20 59 6f 75 20 |ary form|at. You |
|00001120| 63 61 6e 20 64 65 74 65 | 72 6d 69 6e 65 20 69 66 |can dete|rmine if|
|00001130| 20 61 20 72 65 73 6f 75 | 72 63 65 20 69 73 20 63 | a resou|rce is c|
|00001140| 6f 6d 70 72 65 73 73 65 | 64 20 62 79 20 65 78 61 |ompresse|d by exa|
|00001150| 6d 69 6e 69 6e 67 20 62 | 69 74 20 30 20 6f 66 20 |mining b|it 0 of |
|00001160| 74 68 65 20 72 65 73 6f | 75 72 63 65 d5 73 20 61 |the reso|urce.s a|
|00001170| 74 74 72 69 62 75 74 65 | 73 2e 20 49 66 20 74 68 |ttribute|s. If th|
|00001180| 69 73 20 62 69 74 20 69 | 73 20 63 6c 65 61 72 2c |is bit i|s clear,|
|00001190| 20 74 68 65 20 72 65 73 | 6f 75 72 63 65 20 69 73 | the res|ource is|
|000011a0| 20 6e 6f 74 20 63 6f 6d | 70 72 65 73 73 65 64 20 | not com|pressed |
|000011b0| 61 6e 64 20 69 74 20 69 | 73 20 73 61 66 65 20 74 |and it i|s safe t|
|000011c0| 6f 20 75 73 65 20 74 68 | 65 73 65 20 70 61 72 74 |o use th|ese part|
|000011d0| 69 61 6c 20 72 65 73 6f | 75 72 63 65 73 20 72 6f |ial reso|urces ro|
|000011e0| 75 74 69 6e 65 73 2e 0d | 52 65 61 64 50 61 72 74 |utines..|ReadPart|
|000011f0| 69 61 6c 52 65 73 6f 75 | 72 63 65 0d 59 6f 75 20 |ialResou|rce.You |
|00001200| 63 61 6e 20 75 73 65 20 | 74 68 65 20 52 65 61 64 |can use |the Read|
|00001210| 50 61 72 74 69 61 6c 52 | 65 73 6f 75 72 63 65 20 |PartialR|esource |
|00001220| 70 72 6f 63 65 64 75 72 | 65 20 74 6f 20 72 65 61 |procedur|e to rea|
|00001230| 64 20 70 61 72 74 20 6f | 66 20 61 20 72 65 73 6f |d part o|f a reso|
|00001240| 75 72 63 65 20 69 6e 74 | 6f 20 6d 65 6d 6f 72 79 |urce int|o memory|
|00001250| 20 61 6e 64 20 77 6f 72 | 6b 20 77 69 74 68 20 61 | and wor|k with a|
|00001260| 20 73 6d 61 6c 6c 20 73 | 75 62 73 65 63 74 69 6f | small s|ubsectio|
|00001270| 6e 20 6f 66 20 61 20 6c | 61 72 67 65 20 72 65 73 |n of a l|arge res|
|00001280| 6f 75 72 63 65 2e 0d 50 | 52 4f 43 45 44 55 52 45 |ource..P|ROCEDURE|
|00001290| 20 52 65 61 64 50 61 72 | 74 69 61 6c 52 65 73 6f | ReadPar|tialReso|
|000012a0| 75 72 63 65 20 28 74 68 | 65 52 65 73 6f 75 72 63 |urce (th|eResourc|
|000012b0| 65 3a 20 48 61 6e 64 6c | 65 3b 0d 20 20 20 20 20 |e: Handl|e;. |
|000012c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000012d0| 20 20 20 20 20 20 20 20 | 6f 66 66 73 65 74 3a 20 | |offset: |
|000012e0| 4c 6f 6e 67 49 6e 74 3b | 20 62 75 66 66 65 72 3a |LongInt;| buffer:|
|000012f0| 20 55 4e 49 56 20 50 74 | 72 3b 0d 20 20 20 20 20 | UNIV Pt|r;. |
|00001300| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001310| 20 20 20 20 20 20 20 20 | 63 6f 75 6e 74 3a 20 4c | |count: L|
|00001320| 6f 6e 67 49 6e 74 29 3b | 0d 74 68 65 52 65 73 6f |ongInt);|.theReso|
|00001330| 75 72 63 65 09 41 20 68 | 61 6e 64 6c 65 20 74 6f |urce.A h|andle to|
|00001340| 20 61 20 72 65 73 6f 75 | 72 63 65 2e 0d 6f 66 66 | a resou|rce..off|
|00001350| 73 65 74 09 54 68 65 20 | 62 65 67 69 6e 6e 69 6e |set.The |beginnin|
|00001360| 67 20 6f 66 20 74 68 65 | 20 72 65 73 6f 75 72 63 |g of the| resourc|
|00001370| 65 20 73 75 62 73 65 63 | 74 69 6f 6e 20 74 6f 20 |e subsec|tion to |
|00001380| 62 65 20 72 65 61 64 2c | 20 6d 65 61 73 75 72 65 |be read,| measure|
|00001390| 64 20 69 6e 20 62 79 74 | 65 73 20 66 72 6f 6d 20 |d in byt|es from |
|000013a0| 74 68 65 20 62 65 67 69 | 6e 6e 69 6e 67 20 6f 66 |the begi|nning of|
|000013b0| 20 74 68 65 20 72 65 73 | 6f 75 72 63 65 2e 0d 62 | the res|ource..b|
|000013c0| 75 66 66 65 72 09 41 20 | 70 6f 69 6e 74 65 72 20 |uffer.A |pointer |
|000013d0| 74 6f 20 74 68 65 20 62 | 75 66 66 65 72 20 69 6e |to the b|uffer in|
|000013e0| 74 6f 20 77 68 69 63 68 | 20 74 68 65 20 70 61 72 |to which| the par|
|000013f0| 74 69 61 6c 20 72 65 73 | 6f 75 72 63 65 20 69 73 |tial res|ource is|
|00001400| 20 74 6f 20 62 65 20 72 | 65 61 64 2e 0d 63 6f 75 | to be r|ead..cou|
|00001410| 6e 74 09 54 68 65 20 6c | 65 6e 67 74 68 20 6f 66 |nt.The l|ength of|
|00001420| 20 74 68 65 20 72 65 73 | 6f 75 72 63 65 20 73 75 | the res|ource su|
|00001430| 62 73 65 63 74 69 6f 6e | 2e 0d 44 65 73 63 72 69 |bsection|..Descri|
|00001440| 70 74 69 6f 6e 0d 54 68 | 65 20 52 65 61 64 50 61 |ption.Th|e ReadPa|
|00001450| 72 74 69 61 6c 52 65 73 | 6f 75 72 63 65 20 70 72 |rtialRes|ource pr|
|00001460| 6f 63 65 64 75 72 65 20 | 72 65 61 64 73 20 74 68 |ocedure |reads th|
|00001470| 65 20 72 65 73 6f 75 72 | 63 65 20 73 75 62 73 65 |e resour|ce subse|
|00001480| 63 74 69 6f 6e 20 69 64 | 65 6e 74 69 66 69 65 64 |ction id|entified|
|00001490| 20 62 79 20 74 68 65 20 | 74 68 65 52 65 73 6f 75 | by the |theResou|
|000014a0| 72 63 65 2c 20 6f 66 66 | 73 65 74 2c 20 61 6e 64 |rce, off|set, and|
|000014b0| 20 63 6f 75 6e 74 20 70 | 61 72 61 6d 65 74 65 72 | count p|arameter|
|000014c0| 73 20 69 6e 74 6f 20 61 | 20 62 75 66 66 65 72 20 |s into a| buffer |
|000014d0| 73 70 65 63 69 66 69 65 | 64 20 62 79 20 74 68 65 |specifie|d by the|
|000014e0| 20 62 75 66 66 65 72 20 | 70 61 72 61 6d 65 74 65 | buffer |paramete|
|000014f0| 72 2e 20 59 6f 75 72 20 | 61 70 70 6c 69 63 61 74 |r. Your |applicat|
|00001500| 69 6f 6e 20 69 73 20 72 | 65 73 70 6f 6e 73 69 62 |ion is r|esponsib|
|00001510| 6c 65 20 66 6f 72 20 74 | 68 65 20 62 75 66 66 65 |le for t|he buffe|
|00001520| 72 d5 73 20 6d 65 6d 6f | 72 79 20 6d 61 6e 61 67 |r.s memo|ry manag|
|00001530| 65 6d 65 6e 74 2e 20 59 | 6f 75 20 63 61 6e 6e 6f |ement. Y|ou canno|
|00001540| 74 20 75 73 65 20 74 68 | 65 20 52 65 6c 65 61 73 |t use th|e Releas|
|00001550| 65 52 65 73 6f 75 72 63 | 65 20 70 72 6f 63 65 64 |eResourc|e proced|
|00001560| 75 72 65 20 74 6f 20 72 | 65 6c 65 61 73 65 20 74 |ure to r|elease t|
|00001570| 68 65 20 6d 65 6d 6f 72 | 79 20 74 68 65 20 62 75 |he memor|y the bu|
|00001580| 66 66 65 72 20 6f 63 63 | 75 70 69 65 73 2e 0d 54 |ffer occ|upies..T|
|00001590| 68 65 20 52 65 61 64 50 | 61 72 74 69 61 6c 52 65 |he ReadP|artialRe|
|000015a0| 73 6f 75 72 63 65 20 70 | 72 6f 63 65 64 75 72 65 |source p|rocedure|
|000015b0| 20 61 6c 77 61 79 73 20 | 74 72 69 65 73 20 74 6f | always |tries to|
|000015c0| 20 72 65 61 64 20 72 65 | 73 6f 75 72 63 65 73 20 | read re|sources |
|000015d0| 66 72 6f 6d 20 64 69 73 | 6b 2e 20 49 66 20 74 68 |from dis|k. If th|
|000015e0| 65 20 68 61 6e 64 6c 65 | 20 69 6e 20 74 68 65 20 |e handle| in the |
|000015f0| 70 61 72 61 6d 65 74 65 | 72 20 74 68 65 52 65 73 |paramete|r theRes|
|00001600| 6f 75 72 63 65 20 64 6f | 65 73 6e d5 74 20 72 65 |ource do|esn.t re|
|00001610| 66 65 72 20 74 6f 20 61 | 20 72 65 73 6f 75 72 63 |fer to a| resourc|
|00001620| 65 20 69 6e 20 61 6e 20 | 6f 70 65 6e 20 72 65 73 |e in an |open res|
|00001630| 6f 75 72 63 65 20 66 6f | 72 6b 2c 20 52 65 73 45 |ource fo|rk, ResE|
|00001640| 72 72 6f 72 20 72 65 74 | 75 72 6e 73 20 74 68 65 |rror ret|urns the|
|00001650| 20 72 65 73 75 6c 74 20 | 63 6f 64 65 20 72 65 73 | result |code res|
|00001660| 4e 6f 74 46 6f 75 6e 64 | 2e 0d 57 68 65 6e 20 75 |NotFound|..When u|
|00001670| 73 69 6e 67 20 70 61 72 | 74 69 61 6c 20 72 65 73 |sing par|tial res|
|00001680| 6f 75 72 63 65 20 72 6f | 75 74 69 6e 65 73 2c 20 |ource ro|utines, |
|00001690| 79 6f 75 20 73 68 6f 75 | 6c 64 20 63 61 6c 6c 20 |you shou|ld call |
|000016a0| 74 68 65 20 53 65 74 52 | 65 73 4c 6f 61 64 20 70 |the SetR|esLoad p|
|000016b0| 72 6f 63 65 64 75 72 65 | 2c 20 73 70 65 63 69 66 |rocedure|, specif|
|000016c0| 79 69 6e 67 20 46 41 4c | 53 45 20 66 6f 72 20 74 |ying FAL|SE for t|
|000016d0| 68 65 20 6c 6f 61 64 20 | 70 61 72 61 6d 65 74 65 |he load |paramete|
|000016e0| 72 2c 20 62 65 66 6f 72 | 65 20 79 6f 75 20 63 61 |r, befor|e you ca|
|000016f0| 6c 6c 20 47 65 74 52 65 | 73 6f 75 72 63 65 2e 20 |ll GetRe|source. |
|00001700| 55 73 69 6e 67 20 74 68 | 65 20 53 65 74 52 65 73 |Using th|e SetRes|
|00001710| 4c 6f 61 64 20 70 72 6f | 63 65 64 75 72 65 20 70 |Load pro|cedure p|
|00001720| 72 65 76 65 6e 74 73 20 | 74 68 65 20 52 65 73 6f |revents |the Reso|
|00001730| 75 72 63 65 20 4d 61 6e | 61 67 65 72 20 66 72 6f |urce Man|ager fro|
|00001740| 6d 20 72 65 61 64 69 6e | 67 20 74 68 65 20 65 6e |m readin|g the en|
|00001750| 74 69 72 65 20 72 65 73 | 6f 75 72 63 65 20 69 6e |tire res|ource in|
|00001760| 74 6f 20 6d 65 6d 6f 72 | 79 2e 20 42 65 20 73 75 |to memor|y. Be su|
|00001770| 72 65 20 74 6f 20 72 65 | 73 74 6f 72 65 20 74 68 |re to re|store th|
|00001780| 65 20 6e 6f 72 6d 61 6c | 20 73 74 61 74 65 20 62 |e normal| state b|
|00001790| 79 20 63 61 6c 6c 69 6e | 67 20 53 65 74 52 65 73 |y callin|g SetRes|
|000017a0| 4c 6f 61 64 20 61 67 61 | 69 6e 2c 20 77 69 74 68 |Load aga|in, with|
|000017b0| 20 74 68 65 20 6c 6f 61 | 64 20 70 61 72 61 6d 65 | the loa|d parame|
|000017c0| 74 65 72 20 73 65 74 20 | 74 6f 20 54 52 55 45 2c |ter set |to TRUE,|
|000017d0| 20 69 6d 6d 65 64 69 61 | 74 65 6c 79 20 61 66 74 | immedia|tely aft|
|000017e0| 65 72 20 79 6f 75 20 63 | 61 6c 6c 20 47 65 74 52 |er you c|all GetR|
|000017f0| 65 73 6f 75 72 63 65 2e | 20 54 68 65 6e 20 75 73 |esource.| Then us|
|00001800| 65 20 52 65 61 64 50 61 | 72 74 69 61 6c 52 65 73 |e ReadPa|rtialRes|
|00001810| 6f 75 72 63 65 20 74 6f | 20 72 65 61 64 20 61 20 |ource to| read a |
|00001820| 70 6f 72 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 72 |portion |of the r|
|00001830| 65 73 6f 75 72 63 65 20 | 69 6e 74 6f 20 61 20 62 |esource |into a b|
|00001840| 75 66 66 65 72 2e 0d 4e | 6f 74 65 3a 20 49 66 20 |uffer..N|ote: If |
|00001850| 74 68 65 20 65 6e 74 69 | 72 65 20 72 65 73 6f 75 |the enti|re resou|
|00001860| 72 63 65 20 69 73 20 69 | 6e 20 6d 65 6d 6f 72 79 |rce is i|n memory|
|00001870| 20 61 6e 64 20 79 6f 75 | 20 77 61 6e 74 20 6f 6e | and you| want on|
|00001880| 6c 79 20 70 61 72 74 20 | 6f 66 20 69 74 73 20 64 |ly part |of its d|
|00001890| 61 74 61 2c 20 69 74 d5 | 73 20 66 61 73 74 65 72 |ata, it.|s faster|
|000018a0| 20 74 6f 20 75 73 65 20 | 74 68 65 20 4d 65 6d 6f | to use |the Memo|
|000018b0| 72 79 20 4d 61 6e 61 67 | 65 72 20 70 72 6f 63 65 |ry Manag|er proce|
|000018c0| 64 75 72 65 20 42 6c 6f | 63 6b 4d 6f 76 65 20 69 |dure Blo|ckMove i|
|000018d0| 6e 73 74 65 61 64 20 6f | 66 20 74 68 65 20 52 65 |nstead o|f the Re|
|000018e0| 61 64 50 61 72 74 69 61 | 6c 52 65 73 6f 75 72 63 |adPartia|lResourc|
|000018f0| 65 20 70 72 6f 63 65 64 | 75 72 65 2e 20 49 66 20 |e proced|ure. If |
|00001900| 79 6f 75 20 72 65 61 64 | 20 61 20 70 61 72 74 69 |you read| a parti|
|00001910| 61 6c 20 72 65 73 6f 75 | 72 63 65 20 69 6e 74 6f |al resou|rce into|
|00001920| 20 6d 65 6d 6f 72 79 20 | 61 6e 64 20 74 68 65 6e | memory |and then|
|00001930| 20 63 68 61 6e 67 65 20 | 69 74 73 20 73 69 7a 65 | change |its size|
|00001940| 2c 20 79 6f 75 20 63 61 | 6e 20 75 73 65 20 53 65 |, you ca|n use Se|
|00001950| 74 52 65 73 6f 75 72 63 | 65 53 69 7a 65 20 74 6f |tResourc|eSize to|
|00001960| 20 63 68 61 6e 67 65 20 | 74 68 65 20 65 6e 74 69 | change |the enti|
|00001970| 72 65 20 72 65 73 6f 75 | 72 63 65 d5 73 20 73 69 |re resou|rce.s si|
|00001980| 7a 65 20 6f 6e 20 64 69 | 73 6b 20 61 73 20 6e 65 |ze on di|sk as ne|
|00001990| 63 65 73 73 61 72 79 2e | 0d 53 70 65 63 69 61 6c |cessary.|.Special|
|000019a0| 20 43 6f 6e 73 69 64 65 | 72 61 74 69 6f 6e 73 0d | Conside|rations.|
|000019b0| 54 68 65 20 52 65 61 64 | 50 61 72 74 69 61 6c 52 |The Read|PartialR|
|000019c0| 65 73 6f 75 72 63 65 20 | 70 72 6f 63 65 64 75 72 |esource |procedur|
|000019d0| 65 20 6d 61 79 20 6d 6f | 76 65 20 6f 72 20 70 75 |e may mo|ve or pu|
|000019e0| 72 67 65 20 6d 65 6d 6f | 72 79 20 62 6c 6f 63 6b |rge memo|ry block|
|000019f0| 73 20 69 6e 20 74 68 65 | 20 61 70 70 6c 69 63 61 |s in the| applica|
|00001a00| 74 69 6f 6e 20 68 65 61 | 70 2e 20 59 6f 75 72 20 |tion hea|p. Your |
|00001a10| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 73 68 6f 75 |applicat|ion shou|
|00001a20| 6c 64 20 6e 6f 74 20 63 | 61 6c 6c 20 74 68 69 73 |ld not c|all this|
|00001a30| 20 70 72 6f 63 65 64 75 | 72 65 20 61 74 20 69 6e | procedu|re at in|
|00001a40| 74 65 72 72 75 70 74 20 | 74 69 6d 65 2e 0d 41 73 |terrupt |time..As|
|00001a50| 73 65 6d 62 6c 79 2d 4c | 61 6e 67 75 61 67 65 20 |sembly-L|anguage |
|00001a60| 49 6e 66 6f 72 6d 61 74 | 69 6f 6e 0d 54 68 65 20 |Informat|ion.The |
|00001a70| 74 72 61 70 20 6d 61 63 | 72 6f 20 61 6e 64 20 72 |trap mac|ro and r|
|00001a80| 6f 75 74 69 6e 65 20 73 | 65 6c 65 63 74 6f 72 20 |outine s|elector |
|00001a90| 66 6f 72 20 52 65 61 64 | 50 61 72 74 69 61 6c 52 |for Read|PartialR|
|00001aa0| 65 73 6f 75 72 63 65 20 | 61 72 65 0d 54 72 61 70 |esource |are.Trap|
|00001ab0| 20 6d 61 63 72 6f 09 09 | 09 53 65 6c 65 63 74 6f | macro..|.Selecto|
|00001ac0| 72 0d 5f 52 65 73 6f 75 | 72 63 65 44 69 73 70 61 |r._Resou|rceDispa|
|00001ad0| 74 63 68 20 09 24 37 30 | 30 31 0d 52 65 73 75 6c |tch .$70|01.Resul|
|00001ae0| 74 20 43 6f 64 65 73 0d | 6e 6f 45 72 72 09 09 09 |t Codes.|noErr...|
|00001af0| 30 09 09 4e 6f 20 65 72 | 72 6f 72 0d 72 65 73 4e |0..No er|ror.resN|
|00001b00| 6f 74 46 6f 75 6e 64 09 | 09 2d 31 39 32 09 09 52 |otFound.|.-192..R|
|00001b10| 65 73 6f 75 72 63 65 20 | 6e 6f 74 20 66 6f 75 6e |esource |not foun|
|00001b20| 64 0d 57 72 69 74 65 50 | 61 72 74 69 61 6c 52 65 |d.WriteP|artialRe|
|00001b30| 73 6f 75 72 63 65 0d 59 | 6f 75 20 63 61 6e 20 75 |source.Y|ou can u|
|00001b40| 73 65 20 74 68 65 20 57 | 72 69 74 65 50 61 72 74 |se the W|ritePart|
|00001b50| 69 61 6c 52 65 73 6f 75 | 72 63 65 20 70 72 6f 63 |ialResou|rce proc|
|00001b60| 65 64 75 72 65 20 74 6f | 20 77 72 69 74 65 20 70 |edure to| write p|
|00001b70| 61 72 74 20 6f 66 20 61 | 20 72 65 73 6f 75 72 63 |art of a| resourc|
|00001b80| 65 20 74 6f 20 64 69 73 | 6b 20 77 68 65 6e 20 77 |e to dis|k when w|
|00001b90| 6f 72 6b 69 6e 67 20 77 | 69 74 68 20 61 20 73 6d |orking w|ith a sm|
|00001ba0| 61 6c 6c 20 73 75 62 73 | 65 63 74 69 6f 6e 20 6f |all subs|ection o|
|00001bb0| 66 20 61 20 6c 61 72 67 | 65 20 72 65 73 6f 75 72 |f a larg|e resour|
|00001bc0| 63 65 2e 0d 50 52 4f 43 | 45 44 55 52 45 20 57 72 |ce..PROC|EDURE Wr|
|00001bd0| 69 74 65 50 61 72 74 69 | 61 6c 52 65 73 6f 75 72 |iteParti|alResour|
|00001be0| 63 65 20 28 74 68 65 52 | 65 73 6f 75 72 63 65 3a |ce (theR|esource:|
|00001bf0| 20 48 61 6e 64 6c 65 3b | 0d 20 20 20 20 20 20 20 | Handle;|. |
|00001c00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c10| 20 20 20 20 20 20 20 6f | 66 66 73 65 74 3a 20 4c | o|ffset: L|
|00001c20| 6f 6e 67 49 6e 74 3b 20 | 62 75 66 66 65 72 3a 20 |ongInt; |buffer: |
|00001c30| 55 4e 49 56 20 50 74 72 | 3b 0d 20 20 20 20 20 20 |UNIV Ptr|;. |
|00001c40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c50| 20 20 20 20 20 20 20 20 | 63 6f 75 6e 74 3a 20 4c | |count: L|
|00001c60| 6f 6e 67 49 6e 74 29 3b | 0d 74 68 65 52 65 73 6f |ongInt);|.theReso|
|00001c70| 75 72 63 65 09 41 20 68 | 61 6e 64 6c 65 20 74 6f |urce.A h|andle to|
|00001c80| 20 61 20 72 65 73 6f 75 | 72 63 65 2e 0d 6f 66 66 | a resou|rce..off|
|00001c90| 73 65 74 09 54 68 65 20 | 62 65 67 69 6e 6e 69 6e |set.The |beginnin|
|00001ca0| 67 20 6f 66 20 74 68 65 | 20 72 65 73 6f 75 72 63 |g of the| resourc|
|00001cb0| 65 20 73 75 62 73 65 63 | 74 69 6f 6e 20 74 6f 20 |e subsec|tion to |
|00001cc0| 77 72 69 74 65 2c 20 6d | 65 61 73 75 72 65 64 20 |write, m|easured |
|00001cd0| 69 6e 20 62 79 74 65 73 | 20 66 72 6f 6d 20 74 68 |in bytes| from th|
|00001ce0| 65 20 62 65 67 69 6e 6e | 69 6e 67 20 6f 66 20 74 |e beginn|ing of t|
|00001cf0| 68 65 20 72 65 73 6f 75 | 72 63 65 2e 0d 62 75 66 |he resou|rce..buf|
|00001d00| 66 65 72 09 41 20 70 6f | 69 6e 74 65 72 20 74 6f |fer.A po|inter to|
|00001d10| 20 74 68 65 20 62 75 66 | 66 65 72 20 63 6f 6e 74 | the buf|fer cont|
|00001d20| 61 69 6e 69 6e 67 20 74 | 68 65 20 64 61 74 61 20 |aining t|he data |
|00001d30| 74 6f 20 77 72 69 74 65 | 2e 0d 63 6f 75 6e 74 09 |to write|..count.|
|00001d40| 54 68 65 20 6c 65 6e 67 | 74 68 20 6f 66 20 74 68 |The leng|th of th|
|00001d50| 65 20 72 65 73 6f 75 72 | 63 65 20 73 75 62 73 65 |e resour|ce subse|
|00001d60| 63 74 69 6f 6e 20 74 6f | 20 77 72 69 74 65 2e 0d |ction to| write..|
|00001d70| 44 65 73 63 72 69 70 74 | 69 6f 6e 0d 54 68 65 20 |Descript|ion.The |
|00001d80| 57 72 69 74 65 50 61 72 | 74 69 61 6c 52 65 73 6f |WritePar|tialReso|
|00001d90| 75 72 63 65 20 70 72 6f | 63 65 64 75 72 65 20 77 |urce pro|cedure w|
|00001da0| 72 69 74 65 73 20 74 68 | 65 20 64 61 74 61 20 73 |rites th|e data s|
|00001db0| 70 65 63 69 66 69 65 64 | 20 62 79 20 74 68 65 20 |pecified| by the |
|00001dc0| 62 75 66 66 65 72 20 70 | 61 72 61 6d 65 74 65 72 |buffer p|arameter|
|00001dd0| 20 74 6f 20 74 68 65 20 | 72 65 73 6f 75 72 63 65 | to the |resource|
|00001de0| 20 73 75 62 73 65 63 74 | 69 6f 6e 20 69 64 65 6e | subsect|ion iden|
|00001df0| 74 69 66 69 65 64 20 62 | 79 20 74 68 65 20 74 68 |tified b|y the th|
|00001e00| 65 52 65 73 6f 75 72 63 | 65 2c 20 6f 66 66 73 65 |eResourc|e, offse|
|00001e10| 74 2c 20 61 6e 64 20 63 | 6f 75 6e 74 20 70 61 72 |t, and c|ount par|
|00001e20| 61 6d 65 74 65 72 73 2e | 20 59 6f 75 72 20 61 70 |ameters.| Your ap|
|00001e30| 70 6c 69 63 61 74 69 6f | 6e 20 69 73 20 72 65 73 |plicatio|n is res|
|00001e40| 70 6f 6e 73 69 62 6c 65 | 20 66 6f 72 20 74 68 65 |ponsible| for the|
|00001e50| 20 62 75 66 66 65 72 d5 | 73 20 6d 65 6d 6f 72 79 | buffer.|s memory|
|00001e60| 20 6d 61 6e 61 67 65 6d | 65 6e 74 2e 0d 49 66 20 | managem|ent..If |
|00001e70| 74 68 65 20 64 69 73 6b | 20 6f 72 20 74 68 65 20 |the disk| or the |
|00001e80| 66 69 6c 65 20 69 73 20 | 6c 6f 63 6b 65 64 2c 20 |file is |locked, |
|00001e90| 74 68 65 20 52 65 73 45 | 72 72 6f 72 20 66 75 6e |the ResE|rror fun|
|00001ea0| 63 74 69 6f 6e 20 72 65 | 74 75 72 6e 73 20 61 6e |ction re|turns an|
|00001eb0| 20 61 70 70 72 6f 70 72 | 69 61 74 65 20 46 69 6c | appropr|iate Fil|
|00001ec0| 65 20 4d 61 6e 61 67 65 | 72 20 72 65 73 75 6c 74 |e Manage|r result|
|00001ed0| 20 63 6f 64 65 2e 0d 54 | 68 65 20 57 72 69 74 65 | code..T|he Write|
|00001ee0| 50 61 72 74 69 61 6c 52 | 65 73 6f 75 72 63 65 20 |PartialR|esource |
|00001ef0| 70 72 6f 63 65 64 75 72 | 65 20 74 72 69 65 73 20 |procedur|e tries |
|00001f00| 74 6f 20 77 72 69 74 65 | 20 74 68 65 20 64 61 74 |to write| the dat|
|00001f10| 61 20 66 72 6f 6d 20 74 | 68 65 20 62 75 66 66 65 |a from t|he buffe|
|00001f20| 72 20 74 6f 20 64 69 73 | 6b 2e 20 49 66 20 74 68 |r to dis|k. If th|
|00001f30| 65 20 61 74 74 65 6d 70 | 74 20 69 73 20 73 75 63 |e attemp|t is suc|
|00001f40| 63 65 73 73 66 75 6c 20 | 61 6e 64 20 74 68 65 20 |cessful |and the |
|00001f50| 72 65 73 6f 75 72 63 65 | 20 64 61 74 61 20 28 72 |resource| data (r|
|00001f60| 65 66 65 72 65 6e 63 65 | 64 20 74 68 72 6f 75 67 |eference|d throug|
|00001f70| 68 20 74 68 65 20 72 65 | 73 6f 75 72 63 65 d5 73 |h the re|source.s|
|00001f80| 20 68 61 6e 64 6c 65 29 | 20 69 73 20 69 6e 20 6d | handle)| is in m|
|00001f90| 65 6d 6f 72 79 2c 20 62 | 65 20 61 77 61 72 65 20 |emory, b|e aware |
|00001fa0| 74 68 61 74 20 74 68 65 | 20 64 61 74 61 20 6f 66 |that the| data of|
|00001fb0| 20 74 68 65 20 72 65 73 | 6f 75 72 63 65 20 73 75 | the res|ource su|
|00001fc0| 62 73 65 63 74 69 6f 6e | 20 6f 6e 20 64 69 73 6b |bsection| on disk|
|00001fd0| 20 6d 61 74 63 68 65 73 | 20 74 68 65 20 64 61 74 | matches| the dat|
|00001fe0| 61 20 66 72 6f 6d 20 74 | 68 65 20 62 75 66 66 65 |a from t|he buffe|
|00001ff0| 72 2c 20 6e 6f 74 20 74 | 68 65 20 72 65 73 6f 75 |r, not t|he resou|
|00002000| 72 63 65 20 64 61 74 61 | 20 72 65 66 65 72 65 6e |rce data| referen|
|00002010| 63 65 64 20 74 68 72 6f | 75 67 68 20 74 68 65 20 |ced thro|ugh the |
|00002020| 72 65 73 6f 75 72 63 65 | d5 73 20 68 61 6e 64 6c |resource|.s handl|
|00002030| 65 2e 20 49 66 20 74 68 | 65 20 61 74 74 65 6d 70 |e. If th|e attemp|
|00002040| 74 20 74 6f 20 77 72 69 | 74 65 20 74 68 65 20 64 |t to wri|te the d|
|00002050| 61 74 61 20 66 72 6f 6d | 20 74 68 65 20 62 75 66 |ata from| the buf|
|00002060| 66 65 72 20 74 6f 20 74 | 68 65 20 64 69 73 6b 20 |fer to t|he disk |
|00002070| 66 61 69 6c 73 2c 20 52 | 65 73 45 72 72 6f 72 20 |fails, R|esError |
|00002080| 72 65 74 75 72 6e 73 20 | 61 6e 20 61 70 70 72 6f |returns |an appro|
|00002090| 70 72 69 61 74 65 20 65 | 72 72 6f 72 2e 0d 49 66 |priate e|rror..If|
|000020a0| 20 74 68 65 20 68 61 6e | 64 6c 65 20 69 6e 20 74 | the han|dle in t|
|000020b0| 68 65 20 70 61 72 61 6d | 65 74 65 72 20 74 68 65 |he param|eter the|
|000020c0| 52 65 73 6f 75 72 63 65 | 20 64 6f 65 73 20 6e 6f |Resource| does no|
|000020d0| 74 20 72 65 66 65 72 20 | 74 6f 20 61 20 72 65 73 |t refer |to a res|
|000020e0| 6f 75 72 63 65 20 69 6e | 20 61 6e 20 6f 70 65 6e |ource in| an open|
|000020f0| 20 72 65 73 6f 75 72 63 | 65 20 66 6f 72 6b 2c 20 | resourc|e fork, |
|00002100| 52 65 73 45 72 72 6f 72 | 20 72 65 74 75 72 6e 73 |ResError| returns|
|00002110| 20 74 68 65 20 72 65 73 | 75 6c 74 20 63 6f 64 65 | the res|ult code|
|00002120| 20 72 65 73 4e 6f 74 46 | 6f 75 6e 64 2e 0d 54 68 | resNotF|ound..Th|
|00002130| 65 20 57 72 69 74 65 50 | 61 72 74 69 61 6c 52 65 |e WriteP|artialRe|
|00002140| 73 6f 75 72 63 65 20 70 | 72 6f 63 65 64 75 72 65 |source p|rocedure|
|00002150| 20 63 68 65 63 6b 73 20 | 74 68 61 74 20 74 68 65 | checks |that the|
|00002160| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 69 6e 20 | informa|tion in |
|00002170| 74 68 65 20 72 65 73 6f | 75 72 63 65 20 6d 61 70 |the reso|urce map|
|00002180| 20 69 73 20 69 6e 74 65 | 72 6e 61 6c 6c 79 20 63 | is inte|rnally c|
|00002190| 6f 6e 73 69 73 74 65 6e | 74 2e 20 49 66 20 69 74 |onsisten|t. If it|
|000021a0| 20 69 73 6e d5 74 2c 20 | 74 68 65 20 52 65 73 45 | isn.t, |the ResE|
|000021b0| 72 72 6f 72 20 66 75 6e | 63 74 69 6f 6e 20 72 65 |rror fun|ction re|
|000021c0| 74 75 72 6e 73 20 74 68 | 65 20 72 65 73 75 6c 74 |turns th|e result|
|000021d0| 20 63 6f 64 65 20 6d 61 | 70 52 65 61 64 45 72 72 | code ma|pReadErr|
|000021e0| 2e 0d 57 68 65 6e 20 75 | 73 69 6e 67 20 70 61 72 |..When u|sing par|
|000021f0| 74 69 61 6c 20 72 65 73 | 6f 75 72 63 65 20 72 6f |tial res|ource ro|
|00002200| 75 74 69 6e 65 73 2c 20 | 79 6f 75 20 73 68 6f 75 |utines, |you shou|
|00002210| 6c 64 20 63 61 6c 6c 20 | 74 68 65 20 53 65 74 52 |ld call |the SetR|
|00002220| 65 73 4c 6f 61 64 20 70 | 72 6f 63 65 64 75 72 65 |esLoad p|rocedure|
|00002230| 2c 20 73 70 65 63 69 66 | 79 69 6e 67 20 46 41 4c |, specif|ying FAL|
|00002240| 53 45 20 66 6f 72 20 74 | 68 65 20 6c 6f 61 64 20 |SE for t|he load |
|00002250| 70 61 72 61 6d 65 74 65 | 72 2c 20 62 65 66 6f 72 |paramete|r, befor|
|00002260| 65 20 79 6f 75 20 63 61 | 6c 6c 20 47 65 74 52 65 |e you ca|ll GetRe|
|00002270| 73 6f 75 72 63 65 2e 20 | 44 6f 69 6e 67 20 73 6f |source. |Doing so|
|00002280| 20 70 72 65 76 65 6e 74 | 73 20 74 68 65 20 52 65 | prevent|s the Re|
|00002290| 73 6f 75 72 63 65 20 4d | 61 6e 61 67 65 72 20 66 |source M|anager f|
|000022a0| 72 6f 6d 20 72 65 61 64 | 69 6e 67 20 74 68 65 20 |rom read|ing the |
|000022b0| 65 6e 74 69 72 65 20 72 | 65 73 6f 75 72 63 65 20 |entire r|esource |
|000022c0| 69 6e 74 6f 20 6d 65 6d | 6f 72 79 2e 20 42 65 20 |into mem|ory. Be |
|000022d0| 73 75 72 65 20 74 6f 20 | 72 65 73 74 6f 72 65 20 |sure to |restore |
|000022e0| 74 68 65 20 6e 6f 72 6d | 61 6c 20 73 74 61 74 65 |the norm|al state|
|000022f0| 20 62 79 20 63 61 6c 6c | 69 6e 67 20 53 65 74 52 | by call|ing SetR|
|00002300| 65 73 4c 6f 61 64 20 61 | 67 61 69 6e 2c 20 77 69 |esLoad a|gain, wi|
|00002310| 74 68 20 74 68 65 20 6c | 6f 61 64 20 70 61 72 61 |th the l|oad para|
|00002320| 6d 65 74 65 72 20 73 65 | 74 20 74 6f 20 54 52 55 |meter se|t to TRU|
|00002330| 45 2c 20 69 6d 6d 65 64 | 69 61 74 65 6c 79 20 61 |E, immed|iately a|
|00002340| 66 74 65 72 20 79 6f 75 | 20 63 61 6c 6c 20 47 65 |fter you| call Ge|
|00002350| 74 52 65 73 6f 75 72 63 | 65 2e 0d 4e 6f 74 65 3a |tResourc|e..Note:|
|00002360| 09 49 66 20 79 6f 75 20 | 72 65 61 64 20 61 20 70 |.If you |read a p|
|00002370| 61 72 74 69 61 6c 20 72 | 65 73 6f 75 72 63 65 20 |artial r|esource |
|00002380| 69 6e 74 6f 20 6d 65 6d | 6f 72 79 20 61 6e 64 20 |into mem|ory and |
|00002390| 74 68 65 6e 20 63 68 61 | 6e 67 65 20 69 74 73 20 |then cha|nge its |
|000023a0| 73 69 7a 65 2c 20 79 6f | 75 20 6d 75 73 74 20 75 |size, yo|u must u|
|000023b0| 73 65 20 53 65 74 52 65 | 73 6f 75 72 63 65 53 69 |se SetRe|sourceSi|
|000023c0| 7a 65 20 74 6f 20 63 68 | 61 6e 67 65 20 74 68 65 |ze to ch|ange the|
|000023d0| 20 65 6e 74 69 72 65 20 | 72 65 73 6f 75 72 63 65 | entire |resource|
|000023e0| d5 73 20 73 69 7a 65 20 | 6f 6e 20 64 69 73 6b 20 |.s size |on disk |
|000023f0| 61 73 20 6e 65 63 65 73 | 73 61 72 79 20 62 65 66 |as neces|sary bef|
|00002400| 6f 72 65 20 79 6f 75 20 | 77 72 69 74 65 20 74 68 |ore you |write th|
|00002410| 65 20 70 61 72 74 69 61 | 6c 20 72 65 73 6f 75 72 |e partia|l resour|
|00002420| 63 65 2e 0d 53 70 65 63 | 69 61 6c 20 43 6f 6e 73 |ce..Spec|ial Cons|
|00002430| 69 64 65 72 61 74 69 6f | 6e 73 0d 54 68 65 20 57 |ideratio|ns.The W|
|00002440| 72 69 74 65 50 61 72 74 | 69 61 6c 52 65 73 6f 75 |ritePart|ialResou|
|00002450| 72 63 65 20 70 72 6f 63 | 65 64 75 72 65 20 6d 61 |rce proc|edure ma|
|00002460| 79 20 6d 6f 76 65 20 6f | 72 20 70 75 72 67 65 20 |y move o|r purge |
|00002470| 6d 65 6d 6f 72 79 20 62 | 6c 6f 63 6b 73 20 69 6e |memory b|locks in|
|00002480| 20 74 68 65 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | the app|lication|
|00002490| 20 68 65 61 70 2e 20 59 | 6f 75 72 20 61 70 70 6c | heap. Y|our appl|
|000024a0| 69 63 61 74 69 6f 6e 20 | 73 68 6f 75 6c 64 20 6e |ication |should n|
|000024b0| 6f 74 20 63 61 6c 6c 20 | 74 68 69 73 20 70 72 6f |ot call |this pro|
|000024c0| 63 65 64 75 72 65 20 61 | 74 20 69 6e 74 65 72 72 |cedure a|t interr|
|000024d0| 75 70 74 20 74 69 6d 65 | 2e 0d 41 73 73 65 6d 62 |upt time|..Assemb|
|000024e0| 6c 79 2d 4c 61 6e 67 75 | 61 67 65 20 49 6e 66 6f |ly-Langu|age Info|
|000024f0| 72 6d 61 74 69 6f 6e 0d | 54 68 65 20 74 72 61 70 |rmation.|The trap|
|00002500| 20 6d 61 63 72 6f 20 61 | 6e 64 20 72 6f 75 74 69 | macro a|nd routi|
|00002510| 6e 65 20 73 65 6c 65 63 | 74 6f 72 20 66 6f 72 20 |ne selec|tor for |
|00002520| 57 72 69 74 65 50 61 72 | 74 69 61 6c 52 65 73 6f |WritePar|tialReso|
|00002530| 75 72 63 65 20 61 72 65 | 0d 54 72 61 70 20 6d 61 |urce are|.Trap ma|
|00002540| 63 72 6f 09 09 09 53 65 | 6c 65 63 74 6f 72 0d 5f |cro...Se|lector._|
|00002550| 52 65 73 6f 75 72 63 65 | 44 69 73 70 61 74 63 68 |Resource|Dispatch|
|00002560| 20 09 24 37 30 30 32 0d | 52 65 73 75 6c 74 20 43 | .$7002.|Result C|
|00002570| 6f 64 65 73 0d 6e 6f 45 | 72 72 09 09 09 30 09 09 |odes.noE|rr...0..|
|00002580| 4e 6f 20 65 72 72 6f 72 | 0d 64 73 6b 46 75 6c 45 |No error|.dskFulE|
|00002590| 72 72 09 09 09 2d 33 34 | 09 09 44 69 73 6b 20 66 |rr...-34|..Disk f|
|000025a0| 75 6c 6c 0d 72 65 73 4e | 6f 74 46 6f 75 6e 64 09 |ull.resN|otFound.|
|000025b0| 09 2d 31 39 32 09 09 52 | 65 73 6f 75 72 63 65 20 |.-192..R|esource |
|000025c0| 6e 6f 74 20 66 6f 75 6e | 64 0d 6d 61 70 52 65 61 |not foun|d.mapRea|
|000025d0| 64 45 72 72 09 09 2d 31 | 39 39 09 09 4d 61 70 20 |dErr..-1|99..Map |
|000025e0| 69 6e 63 6f 6e 73 69 73 | 74 65 6e 74 20 77 69 74 |inconsis|tent wit|
|000025f0| 68 20 6f 70 65 72 61 74 | 69 6f 6e 0d 46 75 72 74 |h operat|ion.Furt|
|00002600| 68 65 72 20 52 65 66 65 | 72 65 6e 63 65 3a 0d a5 |her Refe|rence:..|
|00002610| 09 49 6e 73 69 64 65 20 | 4d 61 63 69 6e 74 6f 73 |.Inside |Macintos|
|00002620| 68 3a 20 4d 6f 72 65 20 | 4d 61 63 69 6e 74 6f 73 |h: More |Macintos|
|00002630| 68 20 54 6f 6f 6c 62 6f | 78 0d a5 09 54 65 63 68 |h Toolbo|x...Tech|
|00002640| 6e 69 63 61 6c 20 4e 6f | 74 65 20 54 42 20 35 35 |nical No|te TB 55|
|00002650| 35 20 2d 20 52 65 73 6f | 75 72 63 65 20 4d 61 6e |5 - Reso|urce Man|
|00002660| 61 67 65 72 20 51 26 41 | 73 0d 18 bc 00 00 00 00 |ager Q&A|s.......|
|00002670| 03 48 02 52 00 11 02 ff | 0c 00 ff ff ff ff 00 00 |.H.R....|........|
|00002680| 00 00 00 00 00 00 02 52 | 00 00 03 48 00 00 00 00 |.......R|...H....|
|00002690| 00 00 00 1e 00 01 00 0a | 00 00 00 00 03 49 02 52 |........|.....I.R|
|000026a0| 00 20 02 c1 00 58 02 c1 | 02 1d 00 2c 00 08 00 14 |. ...X..|...,....|
|000026b0| 05 54 69 6d 65 73 00 03 | 00 14 00 0d 00 0a 00 2e |.Times..|........|
|000026c0| 00 04 00 00 00 00 00 28 | 02 d6 00 5a 22 50 61 72 |.......(|...Z"Par|
|000026d0| 74 69 61 6c 20 52 65 73 | 6f 75 72 63 65 20 4d 79 |tial Res|ource My|
|000026e0| 74 68 73 20 61 6e 64 20 | 4c 65 67 65 6e 64 73 00 |ths and |Legends.|
|000026f0| 00 28 02 d6 02 04 01 31 | 00 29 05 05 20 6f 66 20 |.(.....1|.).. of |
|00002700| 35 00 00 28 02 ec 00 5a | 07 54 6f 6f 6c 62 6f 78 |5..(...Z|.Toolbox|
|00002710| 00 a0 00 82 00 01 00 0a | 00 2f 00 5a 00 81 02 23 |........|./.Z...#|
|00002720| 00 07 00 00 00 00 00 08 | 00 0a 00 09 30 49 88 3a |........|....0I.:|
|00002730| b5 9c f0 39 00 22 00 7b | 02 1a 00 00 00 09 ff ff |...9.".{|........|
|00002740| ff ff ff ff ff ff 00 23 | 00 00 00 a0 00 c4 00 a1 |.......#|........|
|00002750| 00 64 00 0a 4f 4e 4c 4e | 00 66 00 00 01 fe 00 a0 |.d..ONLN|.f......|
|00002760| 00 8c 00 a1 00 64 00 31 | 64 72 77 32 00 02 01 c9 |.....d.1|drw2....|
|00002770| 00 2d 01 e1 01 5f 00 00 | 80 00 00 00 00 00 00 00 |.-..._..|........|
|00002780| 00 00 00 00 00 00 00 00 | 00 00 ff ff ff ff ff ff |........|........|
|00002790| 00 01 00 00 01 8f 00 00 | 00 00 00 a1 00 96 00 0c |........|........|
|000027a0| 01 00 00 00 02 78 00 00 | 00 00 00 00 00 a1 00 64 |.....x..|.......d|
|000027b0| 00 10 64 72 77 32 00 3a | 00 05 00 00 00 00 00 01 |..drw2.:|........|
|000027c0| 00 00 00 a1 00 64 00 0e | 64 72 77 32 00 3a 00 02 |.....d..|drw2.:..|
|000027d0| 00 24 00 00 00 00 00 a1 | 00 64 00 34 64 72 77 32 |.$......|.d.4drw2|
|000027e0| 00 3a 00 01 00 03 01 00 | 00 18 00 00 00 00 00 00 |.:......|........|
|000027f0| 00 00 00 00 00 01 00 01 | 00 01 00 01 00 00 00 00 |........|........|
|00002800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002810| 00 a1 00 9a 00 08 ff fa | 00 00 00 97 40 00 00 a0 |........|....@...|
|00002820| 00 98 00 04 01 00 00 0d | 00 18 00 2e 00 04 00 00 |........|........|
|00002830| 01 00 00 10 00 52 01 c9 | 00 52 01 c9 00 28 00 42 |.....R..|.R...(.B|
|00002840| 00 5d 13 4e 65 77 20 54 | 65 63 68 6e 69 63 61 6c |.].New T|echnical|
|00002850| 20 4e 6f 74 65 73 00 a0 | 00 99 00 a1 00 64 00 08 | Notes..|.....d..|
|00002860| 64 72 77 32 00 3a 00 04 | 00 a1 14 e3 00 02 00 01 |drw2.:..|........|
|00002870| 00 a0 00 97 00 a1 00 64 | 00 31 64 72 77 32 00 02 |.......d|.1drw2..|
|00002880| 02 06 01 65 02 19 01 f4 | 00 00 80 00 00 00 00 00 |...e....|........|
|00002890| 00 00 00 00 00 00 00 00 | 00 00 00 00 ff ff ff ff |........|........|
|000028a0| ff ff 00 01 00 00 01 50 | 00 00 00 00 00 a1 00 96 |.......P|........|
|000028b0| 00 0c 01 00 00 00 02 78 | 00 00 00 00 00 00 00 a1 |.......x|........|
|000028c0| 00 64 00 10 64 72 77 32 | 00 3a 00 05 00 00 00 00 |.d..drw2|.:......|
|000028d0| 00 01 00 00 00 a1 00 64 | 00 0e 64 72 77 32 00 3a |.......d|..drw2.:|
|000028e0| 00 02 00 24 00 00 00 00 | 00 a1 00 64 00 34 64 72 |...$....|...d.4dr|
|000028f0| 77 32 00 3a 00 01 00 03 | 00 00 00 12 00 00 00 00 |w2.:....|........|
|00002900| 00 00 00 00 00 00 00 01 | 00 01 00 01 00 01 00 00 |........|........|
|00002910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002920| 00 00 00 a1 00 9a 00 08 | ff fb 80 00 00 45 c0 00 |........|.....E..|
|00002930| 00 a0 00 98 00 04 00 00 | 00 0d 00 12 00 28 00 7b |........|.....(.{|
|00002940| 01 95 11 44 65 76 65 6c | 6f 70 65 72 20 53 75 70 |...Devel|oper Sup|
|00002950| 70 6f 72 74 00 a0 00 99 | 00 a1 00 64 00 08 64 72 |port....|...d..dr|
|00002960| 77 32 00 3a 00 04 00 a1 | 14 e3 00 02 00 01 00 a0 |w2.:....|........|
|00002970| 00 97 00 a1 00 64 00 60 | 64 72 77 32 00 03 02 00 |.....d.`|drw2....|
|00002980| 00 2d 02 00 01 ef 00 00 | 00 00 00 00 00 00 02 02 |.-......|........|
|00002990| 00 00 00 00 00 00 00 00 | 00 00 ff ff ff ff ff ff |........|........|
|000029a0| 00 01 00 01 08 4b 00 00 | 00 00 02 00 01 ef 02 00 |.....K..|........|
|000029b0| 00 2d 00 00 00 00 00 00 | 00 00 00 01 00 14 00 0c |.-......|........|
|000029c0| 00 03 00 02 00 00 00 5a | 00 01 00 00 00 02 00 00 |.......Z|........|
|000029d0| 00 03 00 0c 00 00 00 00 | 00 07 00 02 00 02 00 08 |........|........|
|000029e0| 00 08 00 20 00 66 02 1c | 00 66 00 5a 00 a1 00 64 |... .f..|.f.Z...d|
|000029f0| 00 31 64 72 77 32 00 02 | 01 ca 01 c0 01 fa 01 e9 |.1drw2..|........|
|00002a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a10| 00 00 00 00 ff ff ff ff | ff ff 00 01 00 00 01 4b |........|.......K|
|00002a20| 00 00 00 00 00 a1 00 96 | 00 0c 01 00 00 00 02 78 |........|.......x|
|00002a30| 00 00 00 00 00 00 00 a1 | 00 64 00 10 64 72 77 32 |........|.d..drw2|
|00002a40| 00 3a 00 05 00 00 00 00 | 00 01 00 00 00 a1 00 64 |.:......|.......d|
|00002a50| 00 0e 64 72 77 32 00 3a | 00 02 00 24 00 00 00 00 |..drw2.:|...$....|
|00002a60| 00 a1 00 64 00 34 64 72 | 77 32 00 3a 00 01 00 03 |...d.4dr|w2.:....|
|00002a70| 00 00 00 30 00 00 00 00 | 00 00 00 00 00 00 00 01 |...0....|........|
|00002a80| 00 01 00 01 00 01 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a90| 00 00 00 00 00 00 00 00 | 00 00 00 a1 00 9a 00 08 |........|........|
|00002aa0| ff f4 00 00 00 13 80 00 | 00 a0 00 98 00 0d 00 30 |........|.......0|
|00002ab0| 00 28 00 55 01 ef 01 f0 | 00 a0 00 99 00 a1 00 64 |.(.U....|.......d|
|00002ac0| 00 08 64 72 77 32 00 3a | 00 04 00 a1 14 e3 00 02 |..drw2.:|........|
|00002ad0| 00 01 00 a0 00 97 00 a1 | 00 64 00 31 64 72 77 32 |........|.d.1drw2|
|00002ae0| 00 02 01 ef 01 e6 01 fa | 01 f0 00 00 00 00 00 00 |........|........|
|00002af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 ff ff |........|........|
|00002b00| ff ff ff ff 00 01 00 00 | 01 00 00 00 00 00 00 a1 |........|........|
|00002b10| 00 96 00 0c 01 00 00 00 | 02 78 00 00 00 00 00 00 |........|.x......|
|00002b20| 00 a1 00 64 00 10 64 72 | 77 32 00 3a 00 05 00 00 |...d..dr|w2.:....|
|00002b30| 00 00 00 01 00 00 00 a1 | 00 64 00 0e 64 72 77 32 |........|.d..drw2|
|00002b40| 00 3a 00 02 00 24 00 00 | 00 00 00 a1 00 64 00 34 |.:...$..|.....d.4|
|00002b50| 64 72 77 32 00 3a 00 01 | 00 03 00 00 00 09 00 00 |drw2.:..|........|
|00002b60| 00 00 00 00 00 00 00 00 | 00 01 00 01 00 01 00 01 |........|........|
|00002b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b80| 00 00 00 00 00 a1 00 9a | 00 08 ff fd 80 00 00 04 |........|........|
|00002b90| 00 00 00 a0 00 98 00 0d | 00 09 00 2b 26 09 01 a8 |........|...+&...|
|00002ba0| 00 a0 00 99 00 a1 00 64 | 00 08 64 72 77 32 00 3a |.......d|..drw2.:|
|00002bb0| 00 04 00 a1 14 e3 00 02 | 00 01 00 a0 00 97 00 a1 |........|........|
|00002bc0| 00 64 00 31 64 72 77 32 | 00 02 01 e5 00 2d 01 f8 |.d.1drw2|.....-..|
|00002bd0| 00 79 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.y......|........|
|00002be0| 00 00 00 00 00 00 ff ff | ff ff ff ff 00 01 00 01 |........|........|
|00002bf0| 01 00 00 00 01 00 00 a1 | 00 96 00 0c 01 00 00 00 |........|........|
|00002c00| 02 78 00 00 00 00 00 00 | 00 a1 00 64 00 10 64 72 |.x......|...d..dr|
|00002c10| 77 32 00 3a 00 05 00 00 | 00 00 00 01 00 00 00 a1 |w2.:....|........|
|00002c20| 00 64 00 0e 64 72 77 32 | 00 3a 00 02 00 24 00 00 |.d..drw2|.:...$..|
|00002c30| 00 00 00 a1 00 64 00 34 | 64 72 77 32 00 3a 00 01 |.....d.4|drw2.:..|
|00002c40| 00 03 00 00 00 12 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c50| 00 01 00 01 00 01 00 01 | 00 00 00 00 00 00 00 00 |........|........|
|00002c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 a1 00 9a |........|........|
|00002c70| 00 08 ff fb 80 00 00 25 | 00 00 00 a0 00 98 00 0d |.......%|........|
|00002c80| 00 12 00 28 00 5a 00 5c | 09 4d 61 63 69 6e 74 6f |...(.Z.\|.Macinto|
|00002c90| 73 68 00 a0 00 99 00 a1 | 00 64 00 08 64 72 77 32 |sh......|.d..drw2|
|00002ca0| 00 3a 00 04 00 a1 14 e3 | 00 02 00 01 00 a0 00 97 |.:......|........|
|00002cb0| 00 a0 00 8d 00 a1 00 64 | 00 06 64 72 77 32 00 44 |.......d|..drw2.D|
|00002cc0| 00 a0 00 83 00 01 00 0a | 00 00 00 00 03 49 02 52 |........|.....I.R|
|00002cd0| 00 04 01 00 00 2e 00 04 | 00 00 00 00 00 10 00 01 |........|........|
|00002ce0| 00 01 00 01 00 01 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00002cf0| 00 64 00 00 00 8d 00 5a | 00 a0 01 cd 00 28 00 9b |.d.....Z|.....(..|
|00002d00| 00 5a 2a 54 42 20 34 30 | 20 2d 20 50 61 72 74 69 |.Z*TB 40| - Parti|
|00002d10| 61 6c 20 52 65 73 6f 75 | 72 63 65 20 4d 79 74 68 |al Resou|rce Myth|
|00002d20| 73 20 61 6e 64 20 4c 65 | 67 65 6e 64 73 00 00 0d |s and Le|gends...|
|00002d30| 00 0e 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 00 2b |.....d..|ONLN.d.+|
|00002d40| 00 9f 00 5a 00 ae 00 91 | 00 2a 10 07 54 6f 6f 6c |...Z....|.*..Tool|
|00002d50| 62 6f 78 00 00 04 00 00 | 00 0d 00 0c 00 a1 00 64 |box.....|.......d|
|00002d60| 00 10 4f 4e 4c 4e 00 64 | 00 34 00 ba 00 5a 00 c6 |..ONLN.d|.4...Z..|
|00002d70| 00 8f 00 2a 18 0b 57 72 | 69 74 74 65 6e 20 62 79 |...*..Wr|itten by|
|00002d80| 3a 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 00 40 |:....d..|ONLN.d.@|
|00002d90| 00 ba 00 a2 00 c6 00 f6 | 00 29 48 10 53 74 65 76 |........|.)H.Stev|
|00002da0| 65 20 53 74 65 70 68 65 | 6e 73 6f 6e 00 a1 00 64 |e Stephe|nson...d|
|00002db0| 00 10 4f 4e 4c 4e 00 64 | 00 51 00 ba 01 e9 00 c6 |..ONLN.d|.Q......|
|00002dc0| 02 1c 00 28 00 c3 01 e9 | 0a 41 70 72 69 6c 20 31 |...(....|.April 1|
|00002dd0| 39 39 34 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |994....d|..ONLN.d|
|00002de0| 00 5c 00 d4 00 5a 00 e0 | 00 72 00 28 00 dd 00 5a |.\...Z..|.r.(...Z|
|00002df0| 05 54 68 69 73 20 00 06 | 00 01 00 00 00 a1 00 64 |.This ..|.......d|
|00002e00| 00 10 4f 4e 4c 4e 00 64 | 00 61 00 d4 00 72 00 e0 |..ONLN.d|.a...r..|
|00002e10| 01 25 00 29 18 26 54 65 | 63 68 6e 69 63 61 6c 20 |.%.).&Te|chnical |
|00002e20| 4e 6f 74 65 20 63 6f 72 | 72 65 63 74 73 20 61 6e |Note cor|rects an|
|00002e30| 64 20 63 6c 61 72 69 66 | 69 65 73 20 00 04 02 00 |d clarif|ies ....|
|00002e40| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 00 87 00 d4 |...d..ON|LN.d....|
|00002e50| 01 25 00 e0 01 f8 00 29 | b3 28 49 6e 73 69 64 65 |.%.....)|.(Inside|
|00002e60| 20 4d 61 63 69 6e 74 6f | 73 68 3a 20 4d 6f 72 65 | Macinto|sh: More|
|00002e70| 20 4d 61 63 69 6e 74 6f | 73 68 20 54 6f 6f 6c 62 | Macinto|sh Toolb|
|00002e80| 6f 78 00 04 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |ox......|.d..ONLN|
|00002e90| 00 64 00 af 00 d4 01 f8 | 00 e0 02 1c 00 29 d3 08 |.d......|.....)..|
|00002ea0| 20 66 6f 72 20 74 68 65 | 00 2c 00 0a 00 16 07 43 | for the|.,.....C|
|00002eb0| 6f 75 72 69 65 72 00 03 | 00 16 00 06 00 00 00 00 |ourier..|........|
|00002ec0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 00 b8 00 e0 |...d..ON|LN.d....|
|00002ed0| 00 5a 00 ec 00 df 00 28 | 00 ea 00 5a 13 52 65 61 |.Z.....(|...Z.Rea|
|00002ee0| 64 50 61 72 74 69 61 6c | 52 65 73 6f 75 72 63 65 |dPartial|Resource|
|00002ef0| 00 03 00 14 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00002f00| 00 cb 00 e1 00 df 00 ed | 00 f6 00 29 85 05 20 61 |........|...).. a|
|00002f10| 6e 64 20 00 00 03 00 16 | 00 a1 00 64 00 10 4f 4e |nd .....|...d..ON|
|00002f20| 4c 4e 00 64 00 d0 00 e0 | 00 f6 00 ec 01 82 00 29 |LN.d....|.......)|
|00002f30| 17 14 57 72 69 74 65 50 | 61 72 74 69 61 6c 52 65 |..WriteP|artialRe|
|00002f40| 73 6f 75 72 63 65 00 03 | 00 14 00 a1 00 64 00 10 |source..|.....d..|
|00002f50| 4f 4e 4c 4e 00 64 00 e4 | 00 e1 01 82 00 ed 01 9e |ONLN.d..|........|
|00002f60| 00 29 8c 07 20 63 61 6c | 6c 73 2e 00 00 07 00 01 |.).. cal|ls......|
|00002f70| 00 01 00 20 00 f9 00 58 | 00 f9 02 1d 00 04 01 00 |... ...X|........|
|00002f80| 00 0d 00 0e 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00002f90| 00 ec 01 12 00 5a 01 21 | 01 06 00 28 01 1e 00 5a |.....Z.!|...(...Z|
|00002fa0| 17 54 68 72 65 65 20 42 | 6f 67 75 73 20 45 72 72 |.Three B|ogus Err|
|00002fb0| 6f 72 20 43 6f 64 65 73 | 00 04 00 00 00 0d 00 0c |or Codes|........|
|00002fc0| 00 06 00 02 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00002fd0| 00 64 01 04 01 2d 00 5a | 01 39 01 94 00 2a 18 3f |.d...-.Z|.9...*.?|
|00002fe0| 54 68 65 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |The docu|mentatio|
|00002ff0| 6e 20 66 6f 72 20 72 65 | 61 64 69 6e 67 20 61 6e |n for re|ading an|
|00003000| 64 20 77 72 69 74 69 6e | 67 20 70 61 72 74 69 61 |d writin|g partia|
|00003010| 6c 20 72 65 73 6f 75 72 | 63 65 73 20 69 73 20 00 |l resour|ces is .|
|00003020| 00 06 00 03 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00003030| 00 64 01 43 01 2d 01 94 | 01 39 02 1c 00 28 01 36 |.d.C.-..|.9...(.6|
|00003040| 01 94 1c 69 6e 63 6f 72 | 72 65 63 74 20 69 6e 20 |...incor|rect in |
|00003050| 74 68 72 65 65 20 69 6d | 70 6f 72 74 61 6e 74 00 |three im|portant.|
|00003060| 00 06 00 02 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00003070| 00 64 01 60 01 39 00 5a | 01 45 01 03 00 28 01 42 |.d.`.9.Z|.E...(.B|
|00003080| 00 5a 21 77 61 79 73 d1 | 69 74 20 73 74 61 74 65 |.Z!ways.|it state|
|00003090| 73 20 74 68 61 74 20 74 | 68 65 20 52 65 73 6f 75 |s that t|he Resou|
|000030a0| 72 63 65 20 00 06 00 03 | 00 00 00 a1 00 64 00 10 |rce ....|.....d..|
|000030b0| 4f 4e 4c 4e 00 64 01 81 | 01 39 01 03 01 45 02 1c |ONLN.d..|.9...E..|
|000030c0| 00 29 a9 36 4d 61 6e 61 | 67 65 72 20 72 65 74 75 |.).6Mana|ger retu|
|000030d0| 72 6e 73 20 65 72 72 6f | 72 20 63 6f 64 65 73 20 |rns erro|r codes |
|000030e0| 74 6f 20 70 72 6f 74 65 | 63 74 20 79 6f 75 20 61 |to prote|ct you a|
|000030f0| 67 61 69 6e 73 74 20 62 | 61 64 00 06 00 02 00 00 |gainst b|ad......|
|00003100| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 01 b8 01 45 |...d..ON|LN.d...E|
|00003110| 00 5a 01 51 01 12 00 28 | 01 4e 00 5a 24 69 6e 70 |.Z.Q...(|.N.Z$inp|
|00003120| 75 74 73 2c 20 77 68 65 | 6e 20 69 74 20 64 6f 65 |uts, whe|n it doe|
|00003130| 73 20 6e 6f 20 73 75 63 | 68 20 74 68 69 6e 67 2e |s no suc|h thing.|
|00003140| 20 00 00 06 00 03 00 00 | 00 a1 00 64 00 10 4f 4e | .......|...d..ON|
|00003150| 4c 4e 00 64 01 dc 01 45 | 01 12 01 51 02 1c 00 29 |LN.d...E|...Q...)|
|00003160| b8 32 20 54 68 72 65 65 | 20 6f 66 20 74 68 65 20 |.2 Three| of the |
|00003170| 65 72 72 6f 72 73 20 64 | 65 73 63 72 69 62 65 64 |errors d|escribed|
|00003180| 20 69 6e 20 52 65 73 6f | 75 72 63 65 20 4d 61 6e | in Reso|urce Man|
|00003190| 61 67 65 72 00 06 00 00 | 00 00 00 a1 00 64 00 10 |ager....|.....d..|
|000031a0| 4f 4e 4c 4e 00 64 02 0f | 01 51 00 5a 01 5d 01 c5 |ONLN.d..|.Q.Z.]..|
|000031b0| 00 28 01 5a 00 5a 4a 64 | 6f 63 75 6d 65 6e 74 61 |.(.Z.ZJd|ocumenta|
|000031c0| 74 69 6f 6e 20 61 72 65 | 20 63 6f 6d 70 6c 65 74 |tion are| complet|
|000031d0| 65 6c 79 20 65 72 72 6f | 6e 65 6f 75 73 20 61 6e |ely erro|neous an|
|000031e0| 64 20 61 72 65 20 6e 65 | 76 65 72 20 72 65 74 75 |d are ne|ver retu|
|000031f0| 72 6e 65 64 20 62 79 20 | 52 65 73 6f 75 72 63 65 |rned by |Resource|
|00003200| 20 00 00 06 00 01 00 00 | 00 a1 00 64 00 10 4f 4e | .......|...d..ON|
|00003210| 4c 4e 00 64 02 59 01 51 | 01 c5 01 5d 02 1c 00 28 |LN.d.Y.Q|...]...(|
|00003220| 01 5a 01 c5 11 4d 61 6e | 61 67 65 72 20 72 6f 75 |.Z...Man|ager rou|
|00003230| 74 69 6e 65 73 2e 00 06 | 00 00 00 00 00 a1 00 64 |tines...|.......d|
|00003240| 00 10 4f 4e 4c 4e 00 64 | 02 6c 01 5d 00 5a 01 69 |..ONLN.d|.l.].Z.i|
|00003250| 00 a9 00 28 01 66 00 5a | 10 54 68 6f 73 65 20 63 |...(.f.Z|.Those c|
|00003260| 6f 64 65 73 20 61 72 65 | 3a 00 00 04 01 00 00 a1 |odes are|:.......|
|00003270| 00 64 00 10 4f 4e 4c 4e | 00 64 02 7d 01 76 00 5a |.d..ONLN|.d.}.v.Z|
|00003280| 01 82 00 6a 00 2a 19 03 | 31 2e 20 00 00 03 00 16 |...j.*..|1. .....|
|00003290| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 02 80 01 75 |...d..ON|LN.d...u|
|000032a0| 00 6a 01 81 00 ea 00 29 | 10 10 69 6e 70 75 74 4f |.j.....)|..inputO|
|000032b0| 75 74 4f 66 42 6f 75 6e | 64 73 00 03 00 14 00 a1 |utOfBoun|ds......|
|000032c0| 00 64 00 10 4f 4e 4c 4e | 00 64 02 90 01 76 00 ea |.d..ONLN|.d...v..|
|000032d0| 01 82 01 3d 00 29 80 0f | 20 64 6f 65 73 20 6e 6f |...=.)..| does no|
|000032e0| 74 20 65 78 69 73 74 00 | 00 04 02 00 00 06 00 01 |t exist.|........|
|000032f0| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 02 a0 |.....d..|ONLN.d..|
|00003300| 01 8f 00 5a 01 9b 00 b3 | 00 28 01 98 00 5a 12 49 |...Z....|.(...Z.I|
|00003310| 6e 73 69 64 65 20 4d 61 | 63 69 6e 74 6f 73 68 3a |nside Ma|cintosh:|
|00003320| 20 00 00 06 00 02 00 00 | 00 a1 00 64 00 10 4f 4e | .......|...d..ON|
|00003330| 4c 4e 00 64 02 b2 01 8f | 00 b3 01 9b 01 2f 00 29 |LN.d....|...../.)|
|00003340| 59 16 4d 6f 72 65 20 4d | 61 63 69 6e 74 6f 73 68 |Y.More M|acintosh|
|00003350| 20 54 6f 6f 6c 62 6f 78 | 00 04 00 00 00 a1 00 64 | Toolbox|.......d|
|00003360| 00 10 4f 4e 4c 4e 00 64 | 02 c8 01 8f 01 2f 01 9b |..ONLN.d|...../..|
|00003370| 01 81 00 29 7c 12 20 20 | 73 74 61 74 65 73 20 74 |...)|. |states t|
|00003380| 68 61 74 20 74 68 65 20 | 00 03 00 16 00 a1 00 64 |hat the |.......d|
|00003390| 00 10 4f 4e 4c 4e 00 64 | 02 da 01 8e 01 81 01 9a |..ONLN.d|........|
|000033a0| 02 06 00 29 52 13 52 65 | 61 64 50 61 72 74 69 61 |...)R.Re|adPartia|
|000033b0| 6c 52 65 73 6f 75 72 63 | 65 00 00 03 00 14 00 a1 |lResourc|e.......|
|000033c0| 00 64 00 10 4f 4e 4c 4e | 00 64 02 ed 01 8f 02 06 |.d..ONLN|.d......|
|000033d0| 01 9b 02 1c 00 29 85 04 | 20 61 6e 64 00 03 00 16 |.....)..| and....|
|000033e0| 00 06 00 03 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|000033f0| 00 64 02 f2 01 9b 00 5a | 01 a7 00 e6 00 28 01 a5 |.d.....Z|.....(..|
|00003400| 00 5a 14 57 72 69 74 65 | 50 61 72 74 69 61 6c 52 |.Z.Write|PartialR|
|00003410| 65 73 6f 75 72 63 65 00 | 00 03 00 14 00 a1 00 64 |esource.|.......d|
|00003420| 00 10 4f 4e 4c 4e 00 64 | 03 06 01 9c 00 e6 01 a8 |..ONLN.d|........|
|00003430| 01 44 00 29 8c 12 20 63 | 61 6c 6c 73 20 63 68 65 |.D.).. c|alls che|
|00003440| 63 6b 20 79 6f 75 72 20 | 00 03 00 16 00 a1 00 64 |ck your |.......d|
|00003450| 00 10 4f 4e 4c 4e 00 64 | 03 18 01 9b 01 44 01 a7 |..ONLN.d|.....D..|
|00003460| 01 67 00 29 5e 05 63 6f | 75 6e 74 00 00 03 00 14 |.g.)^.co|unt.....|
|00003470| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 03 1d 01 9c |...d..ON|LN.d....|
|00003480| 01 67 01 a8 01 84 00 29 | 23 05 20 61 6e 64 20 00 |.g.....)|#. and .|
|00003490| 00 03 00 16 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|000034a0| 03 22 01 9b 01 84 01 a7 | 01 ae 00 29 1d 06 6f 66 |."......|...)..of|
|000034b0| 66 73 65 74 00 03 00 14 | 00 a1 00 64 00 10 4f 4e |fset....|...d..ON|
|000034c0| 4c 4e 00 64 03 28 01 9c | 01 ae 01 a8 02 0b 00 29 |LN.d.(..|.......)|
|000034d0| 2a 12 20 69 6e 70 75 74 | 20 70 61 72 61 6d 65 74 |*. input| paramet|
|000034e0| 65 72 73 20 00 06 00 04 | 00 00 00 a1 00 64 00 10 |ers ....|.....d..|
|000034f0| 4f 4e 4c 4e 00 64 03 3a | 01 9c 02 0b 01 a8 02 1c |ONLN.d.:|........|
|00003500| 00 29 5d 03 61 6e 64 00 | 00 06 00 00 00 00 00 a1 |.)].and.|........|
|00003510| 00 64 00 10 4f 4e 4c 4e | 00 64 03 3e 01 a9 00 5a |.d..ONLN|.d.>...Z|
|00003520| 01 b5 00 79 00 28 01 b2 | 00 5a 07 72 65 74 75 72 |...y.(..|.Z.retur|
|00003530| 6e 20 00 03 00 16 00 a1 | 00 64 00 10 4f 4e 4c 4e |n ......|.d..ONLN|
|00003540| 00 64 03 45 01 a8 00 79 | 01 b4 00 e9 00 29 1f 10 |.d.E...y|.....)..|
|00003550| 69 6e 70 75 74 4f 75 74 | 4f 66 42 6f 75 6e 64 73 |inputOut|OfBounds|
|00003560| 00 03 00 14 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00003570| 03 55 01 a9 00 e9 01 b5 | 01 93 00 29 70 27 20 69 |.U......|...)p' i|
|00003580| 66 20 74 68 65 79 20 61 | 72 65 20 6f 75 74 20 6f |f they a|re out o|
|00003590| 66 20 72 61 6e 67 65 2e | 20 54 68 69 73 20 69 73 |f range.| This is|
|000035a0| 20 6e 6f 74 20 00 00 06 | 00 01 00 00 00 a1 00 64 | not ...|.......d|
|000035b0| 00 10 4f 4e 4c 4e 00 64 | 03 7c 01 a9 01 93 01 b5 |..ONLN.d|.|......|
|000035c0| 02 1c 00 29 aa 1c 74 72 | 75 65 3b 20 74 68 65 20 |...)..tr|ue; the |
|000035d0| 6f 6e 6c 79 20 63 68 65 | 63 6b 20 6f 6e 20 79 6f |only che|ck on yo|
|000035e0| 75 72 00 06 00 08 00 00 | 00 a1 00 64 00 10 4f 4e |ur......|...d..ON|
|000035f0| 4c 4e 00 64 03 99 01 b5 | 00 5a 01 c1 01 27 00 28 |LN.d....|.Z...'.(|
|00003600| 01 be 00 5a 25 69 6e 70 | 75 74 20 70 61 72 61 6d |...Z%inp|ut param|
|00003610| 65 74 65 72 73 20 69 73 | 20 74 68 65 20 76 65 72 |eters is| the ver|
|00003620| 69 66 69 63 61 74 69 6f | 6e 20 00 06 00 09 00 00 |ificatio|n ......|
|00003630| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 03 be 01 b5 |...d..ON|LN.d....|
|00003640| 01 27 01 c1 02 1c 00 29 | cd 28 6f 66 20 79 6f 75 |.'.....)|.(of you|
|00003650| 72 20 72 65 73 6f 75 72 | 63 65 20 68 61 6e 64 6c |r resour|ce handl|
|00003660| 65 2e 20 54 68 65 20 72 | 65 73 75 6c 74 20 63 6f |e. The r|esult co|
|00003670| 64 65 00 03 00 16 00 06 | 00 00 00 00 00 a1 00 64 |de......|.......d|
|00003680| 00 10 4f 4e 4c 4e 00 64 | 03 e7 01 c1 00 5a 01 cd |..ONLN.d|.....Z..|
|00003690| 00 ca 00 28 01 cb 00 5a | 10 69 6e 70 75 74 4f 75 |...(...Z|.inputOu|
|000036a0| 74 4f 66 42 6f 75 6e 64 | 73 00 00 03 00 14 00 a1 |tOfBound|s.......|
|000036b0| 00 64 00 10 4f 4e 4c 4e | 00 64 03 f7 01 c2 00 ca |.d..ONLN|.d......|
|000036c0| 01 ce 01 54 00 29 70 1d | 20 69 73 20 63 6f 6d 70 |...T.)p.| is comp|
|000036d0| 6c 65 74 65 6c 79 20 65 | 72 72 6f 6e 65 6f 75 73 |letely e|rroneous|
|000036e0| 20 61 6e 64 20 00 00 06 | 00 01 00 00 00 a1 00 64 | and ...|.......d|
|000036f0| 00 10 4f 4e 4c 4e 00 64 | 04 14 01 c2 01 54 01 ce |..ONLN.d|.....T..|
|00003700| 02 1c 00 29 8a 27 69 73 | 20 6e 6f 74 20 72 65 74 |...).'is| not ret|
|00003710| 75 72 6e 65 64 20 62 79 | 20 61 6e 79 20 52 65 73 |urned by| any Res|
|00003720| 6f 75 72 63 65 20 4d 61 | 6e 61 67 65 72 00 00 06 |ource Ma|nager...|
|00003730| 00 00 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00003740| 04 3c 01 ce 00 5a 01 da | 00 6e 00 28 01 d7 00 5a |.<...Z..|.n.(...Z|
|00003750| 05 63 61 6c 6c 2e 00 04 | 01 00 00 a1 00 64 00 10 |.call...|.....d..|
|00003760| 4f 4e 4c 4e 00 64 04 42 | 01 e7 00 5a 01 f3 00 6a |ONLN.d.B|...Z...j|
|00003770| 00 2a 19 03 32 2e 20 00 | 00 03 00 16 00 a1 00 64 |.*..2. .|.......d|
|00003780| 00 10 4f 4e 4c 4e 00 64 | 04 45 01 e6 00 6a 01 f2 |..ONLN.d|.E...j..|
|00003790| 00 ea 00 29 10 10 72 65 | 73 6f 75 72 63 65 49 6e |...)..re|sourceIn|
|000037a0| 4d 65 6d 6f 72 79 00 03 | 00 14 00 a1 00 64 00 10 |Memory..|.....d..|
|000037b0| 4f 4e 4c 4e 00 64 04 55 | 01 e7 00 ea 01 f3 01 4e |ONLN.d.U|.......N|
|000037c0| 00 29 80 12 20 69 73 20 | 6e 65 76 65 72 20 72 65 |.).. is |never re|
|000037d0| 74 75 72 6e 65 64 00 04 | 00 00 00 06 00 08 00 00 |turned..|........|
|000037e0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 04 68 01 ff |...d..ON|LN.d.h..|
|000037f0| 00 5a 02 0b 00 c7 00 28 | 02 08 00 5a 12 54 68 65 |.Z.....(|...Z.The|
|00003800| 20 64 6f 63 75 6d 65 6e | 74 61 74 69 6f 6e 20 00 | documen|tation .|
|00003810| 00 06 00 09 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00003820| 00 64 04 7a 01 ff 00 c7 | 02 0b 02 1c 00 29 6d 39 |.d.z....|.....)m9|
|00003830| 61 6c 73 6f 20 69 6e 64 | 69 63 61 74 65 73 20 74 |also ind|icates t|
|00003840| 68 61 74 20 74 68 65 20 | 52 65 73 6f 75 72 63 65 |hat the |Resource|
|00003850| 20 4d 61 6e 61 67 65 72 | 20 72 65 74 75 72 6e 73 | Manager| returns|
|00003860| 20 74 68 65 20 63 6f 64 | 65 00 00 03 00 16 00 06 | the cod|e.......|
|00003870| 00 01 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00003880| 04 b4 02 0b 00 5a 02 17 | 00 ca 00 28 02 15 00 5a |.....Z..|...(...Z|
|00003890| 10 72 65 73 6f 75 72 63 | 65 49 6e 4d 65 6d 6f 72 |.resourc|eInMemor|
|000038a0| 79 00 00 03 00 14 00 a1 | 00 64 00 10 4f 4e 4c 4e |y.......|.d..ONLN|
|000038b0| 00 64 04 c4 02 0c 00 ca | 02 18 01 3a 00 29 70 18 |.d......|...:.)p.|
|000038c0| 20 69 66 20 74 68 65 20 | 72 65 73 6f 75 72 63 65 | if the |resource|
|000038d0| 20 68 61 6e 64 6c 65 20 | 00 06 00 02 00 00 00 a1 | handle |........|
|000038e0| 00 64 00 10 4f 4e 4c 4e | 00 64 04 dc 02 0c 01 3a |.d..ONLN|.d.....:|
|000038f0| 02 18 02 1c 00 29 70 2f | 69 73 20 6e 6f 74 20 65 |.....)p/|is not e|
|00003900| 6d 70 74 79 2e 20 20 54 | 68 69 73 20 74 6f 6f 20 |mpty. T|his too |
|00003910| 69 73 20 66 61 6c 73 65 | 3b 20 74 68 65 20 6f 6e |is false|; the on|
|00003920| 6c 79 20 74 65 73 74 00 | 00 06 00 01 00 00 00 a1 |ly test.|........|
|00003930| 00 64 00 10 4f 4e 4c 4e | 00 64 05 0c 02 18 00 5a |.d..ONLN|.d.....Z|
|00003940| 02 24 01 e7 00 28 02 21 | 00 5a 51 70 65 72 66 6f |.$...(.!|.ZQperfo|
|00003950| 72 6d 65 64 20 6f 6e 20 | 79 6f 75 72 20 72 65 73 |rmed on |your res|
|00003960| 6f 75 72 63 65 20 68 61 | 6e 64 6c 65 20 69 73 20 |ource ha|ndle is |
|00003970| 77 68 65 74 68 65 72 20 | 69 74 20 69 73 20 69 6e |whether |it is in|
|00003980| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 6d 61 70 | the cur|rent map|
|00003990| 20 63 68 61 69 6e 2e 20 | 54 68 65 20 00 06 00 02 | chain. |The ....|
|000039a0| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 05 5d |.....d..|ONLN.d.]|
|000039b0| 02 18 01 e7 02 24 02 1c | 00 28 02 21 01 e7 0b 72 |.....$..|.(.!...r|
|000039c0| 65 73 75 6c 74 20 63 6f | 64 65 00 03 00 16 00 06 |esult co|de......|
|000039d0| 00 00 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|000039e0| 05 69 02 24 00 5a 02 30 | 00 ca 00 28 02 2e 00 5a |.i.$.Z.0|...(...Z|
|000039f0| 10 72 65 73 6f 75 72 63 | 65 49 6e 4d 65 6d 6f 72 |.resourc|eInMemor|
|00003a00| 79 00 00 03 00 14 00 a1 | 00 64 00 10 4f 4e 4c 4e |y.......|.d..ONLN|
|00003a10| 00 64 05 79 02 25 00 ca | 02 31 01 54 00 29 70 1d |.d.y.%..|.1.T.)p.|
|00003a20| 20 69 73 20 63 6f 6d 70 | 6c 65 74 65 6c 79 20 65 | is comp|letely e|
|00003a30| 72 72 6f 6e 65 6f 75 73 | 20 61 6e 64 20 00 00 06 |rroneous| and ...|
|00003a40| 00 01 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00003a50| 05 96 02 25 01 54 02 31 | 02 1c 00 29 8a 27 69 73 |...%.T.1|...).'is|
|00003a60| 20 6e 6f 74 20 72 65 74 | 75 72 6e 65 64 20 62 79 | not ret|urned by|
|00003a70| 20 61 6e 79 20 52 65 73 | 6f 75 72 63 65 20 4d 61 | any Res|ource Ma|
|00003a80| 6e 61 67 65 72 00 00 06 | 00 00 00 00 00 a1 00 64 |nager...|.......d|
|00003a90| 00 10 4f 4e 4c 4e 00 64 | 05 be 02 31 00 5a 02 3d |..ONLN.d|...1.Z.=|
|00003aa0| 00 6e 00 28 02 3a 00 5a | 05 63 61 6c 6c 2e 00 04 |.n.(.:.Z|.call...|
|00003ab0| 01 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 05 c4 |.....d..|ONLN.d..|
|00003ac0| 02 4a 00 5a 02 56 00 6a | 00 2a 19 03 33 2e 20 00 |.J.Z.V.j|.*..3. .|
|00003ad0| 00 03 00 16 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00003ae0| 05 c7 02 49 00 6a 02 55 | 00 da 00 29 10 0e 77 72 |...I.j.U|...)..wr|
|00003af0| 69 74 69 6e 67 50 61 73 | 74 45 6e 64 00 03 00 14 |itingPas|tEnd....|
|00003b00| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 05 d5 02 4a |...d..ON|LN.d...J|
|00003b10| 00 da 02 56 01 8e 00 29 | 70 20 20 69 73 20 61 20 |...V...)|p is a |
|00003b20| 66 69 67 6d 65 6e 74 20 | 6f 66 20 6f 75 72 20 69 |figment |of our i|
|00003b30| 6d 61 67 69 6e 61 74 69 | 6f 6e 00 04 00 00 00 a1 |maginati|on......|
|00003b40| 00 64 00 10 4f 4e 4c 4e | 00 64 05 f6 02 63 00 5a |.d..ONLN|.d...c.Z|
|00003b50| 02 6f 00 9c 00 28 02 6c | 00 5a 0f 49 6e 20 74 68 |.o...(.l|.Z.In th|
|00003b60| 65 20 63 61 73 65 20 6f | 66 20 00 03 00 16 00 a1 |e case o|f ......|
|00003b70| 00 64 00 10 4f 4e 4c 4e | 00 64 06 05 02 62 00 9c |.d..ONLN|.d...b..|
|00003b80| 02 6e 01 28 00 29 42 14 | 57 72 69 74 65 50 61 72 |.n.(.)B.|WritePar|
|00003b90| 74 69 61 6c 52 65 73 6f | 75 72 63 65 00 03 00 14 |tialReso|urce....|
|00003ba0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 06 19 02 63 |...d..ON|LN.d...c|
|00003bb0| 01 28 02 6f 01 a5 00 29 | 8c 1c 2c 20 69 66 20 74 |.(.o...)|.., if t|
|00003bc0| 68 65 20 63 6f 6d 62 69 | 6e 61 74 69 6f 6e 20 6f |he combi|nation o|
|00003bd0| 66 20 74 68 65 20 00 03 | 00 16 00 a1 00 64 00 10 |f the ..|.....d..|
|00003be0| 4f 4e 4c 4e 00 64 06 35 | 02 62 01 a5 02 6e 01 cf |ONLN.d.5|.b...n..|
|00003bf0| 00 29 7d 06 6f 66 66 73 | 65 74 00 03 00 14 00 a1 |.)}.offs|et......|
|00003c00| 00 64 00 10 4f 4e 4c 4e | 00 64 06 3b 02 63 01 cf |.d..ONLN|.d.;.c..|
|00003c10| 02 6f 01 d2 00 29 2a 01 | 20 00 00 06 00 01 00 00 |.o...)*.| .......|
|00003c20| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 06 3c 02 63 |...d..ON|LN.d.<.c|
|00003c30| 01 d2 02 6f 01 f9 00 29 | 03 08 61 6e 64 20 74 68 |...o...)|..and th|
|00003c40| 65 20 00 03 00 16 00 a1 | 00 64 00 10 4f 4e 4c 4e |e ......|.d..ONLN|
|00003c50| 00 64 06 44 02 62 01 f9 | 02 6e 02 1c 00 29 27 05 |.d.D.b..|.n...)'.|
|00003c60| 63 6f 75 6e 74 00 00 03 | 00 14 00 06 00 03 00 00 |count...|........|
|00003c70| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 06 4a 02 6f |...d..ON|LN.d.J.o|
|00003c80| 00 5a 02 7b 01 d7 00 28 | 02 78 00 5a 49 77 6f 75 |.Z.{...(|.x.ZIwou|
|00003c90| 6c 64 20 65 78 74 65 6e | 64 20 74 68 65 20 77 72 |ld exten|d the wr|
|00003ca0| 69 74 65 20 72 65 71 75 | 65 73 74 20 70 61 73 74 |ite requ|est past|
|00003cb0| 20 74 68 65 20 65 6e 64 | 20 6f 66 20 74 68 65 20 | the end| of the |
|00003cc0| 72 65 73 6f 75 72 63 65 | 20 6f 6e 20 64 69 73 6b |resource| on disk|
|00003cd0| 2c 20 74 68 65 20 00 06 | 00 04 00 00 00 a1 00 64 |, the ..|.......d|
|00003ce0| 00 10 4f 4e 4c 4e 00 64 | 06 93 02 6f 01 d7 02 7b |..ONLN.d|...o...{|
|00003cf0| 02 1c 00 28 02 78 01 d7 | 0d 64 6f 63 75 6d 65 6e |...(.x..|.documen|
|00003d00| 74 61 74 69 6f 6e 00 06 | 00 00 00 00 00 a1 00 64 |tation..|.......d|
|00003d10| 00 10 4f 4e 4c 4e 00 64 | 06 a1 02 7c 00 5a 02 88 |..ONLN.d|...|.Z..|
|00003d20| 01 7e 00 28 02 85 00 5a | 41 69 6e 64 69 63 61 74 |.~.(...Z|Aindicat|
|00003d30| 65 73 20 74 68 61 74 20 | 74 68 65 20 72 6f 75 74 |es that |the rout|
|00003d40| 69 6e 65 20 65 6e 6c 61 | 72 67 65 73 20 74 68 65 |ine enla|rges the|
|00003d50| 20 72 65 73 6f 75 72 63 | 65 20 61 6e 64 20 72 65 | resourc|e and re|
|00003d60| 74 75 72 6e 73 20 74 68 | 65 20 00 06 00 01 00 00 |turns th|e ......|
|00003d70| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 06 e2 02 7c |...d..ON|LN.d...||
|00003d80| 01 7e 02 88 01 b6 00 28 | 02 85 01 7e 0c 72 65 73 |.~.....(|...~.res|
|00003d90| 75 6c 74 20 63 6f 64 65 | 20 00 00 03 00 16 00 a1 |ult code| .......|
|00003da0| 00 64 00 10 4f 4e 4c 4e | 00 64 06 ee 02 7b 01 b6 |.d..ONLN|.d...{..|
|00003db0| 02 87 02 18 00 29 38 0e | 77 72 69 74 69 6e 67 50 |.....)8.|writingP|
|00003dc0| 61 73 74 45 6e 64 00 03 | 00 14 00 a1 00 64 00 10 |astEnd..|.....d..|
|00003dd0| 4f 4e 4c 4e 00 64 06 fc | 02 7c 02 18 02 88 02 1c |ONLN.d..|.|......|
|00003de0| 00 29 62 01 2e 00 00 06 | 00 00 00 00 00 a1 00 64 |.)b.....|.......d|
|00003df0| 00 10 4f 4e 4c 4e 00 64 | 06 fe 02 88 00 5a 02 94 |..ONLN.d|.....Z..|
|00003e00| 01 4b 00 28 02 91 00 5a | 37 54 68 69 73 20 69 73 |.K.(...Z|7This is|
|00003e10| 20 6e 6f 74 20 74 72 75 | 65 3b 20 69 74 20 64 6f | not tru|e; it do|
|00003e20| 65 73 20 6e 6f 74 20 61 | 75 74 6f 6d 61 74 69 63 |es not a|utomatic|
|00003e30| 61 6c 6c 79 20 72 65 73 | 69 7a 65 20 74 68 65 20 |ally res|ize the |
|00003e40| 00 06 00 01 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00003e50| 00 64 07 35 02 88 01 4b | 02 94 02 1c 00 29 f1 2b |.d.5...K|.....).+|
|00003e60| 72 65 73 6f 75 72 63 65 | 20 61 6e 64 20 62 6c 69 |resource| and bli|
|00003e70| 6e 64 6c 79 20 6f 76 65 | 72 77 72 69 74 65 73 20 |ndly ove|rwrites |
|00003e80| 61 6e 79 20 64 61 74 61 | 20 69 6e 00 00 06 00 04 |any data| in.....|
|00003e90| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 07 61 |.....d..|ONLN.d.a|
|00003ea0| 02 94 00 5a 02 a0 00 a4 | 00 28 02 9d 00 5a 0e 74 |...Z....|.(...Z.t|
|00003eb0| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 00 00 06 |he follo|wing ...|
|00003ec0| 00 05 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00003ed0| 07 6f 02 94 00 a4 02 a0 | 02 1c 00 29 4a 46 72 65 |.o......|...)JFre|
|00003ee0| 73 6f 75 72 63 65 2e 20 | 20 49 66 20 69 74 20 69 |source. | If it i|
|00003ef0| 73 20 79 6f 75 72 20 69 | 6e 74 65 6e 74 20 74 6f |s your i|ntent to|
|00003f00| 20 65 6e 6c 61 72 67 65 | 20 74 68 65 20 72 65 73 | enlarge| the res|
|00003f10| 6f 75 72 63 65 2c 20 79 | 6f 75 20 6d 75 73 74 20 |ource, y|ou must |
|00003f20| 63 61 6c 6c 00 ff 00 a1 | 00 c0 01 f4 25 25 44 53 |call....|....%%DS|
|00003f30| 49 44 49 43 54 3a 5f 63 | 76 0d 63 75 72 72 65 6e |IDICT:_c|v.curren|
|00003f40| 74 64 69 63 74 20 2f 62 | 75 20 6b 6e 6f 77 6e 20 |tdict /b|u known |
|00003f50| 7b 62 75 7d 69 66 0d 75 | 73 65 72 64 69 63 74 20 |{bu}if.u|serdict |
|00003f60| 2f 5f 63 76 20 6b 6e 6f | 77 6e 20 6e 6f 74 7b 75 |/_cv kno|wn not{u|
|00003f70| 73 65 72 64 69 63 74 20 | 2f 5f 63 76 20 33 30 20 |serdict |/_cv 30 |
|00003f80| 64 69 63 74 20 70 75 74 | 7d 69 66 0d 5f 63 76 20 |dict put|}if._cv |
|00003f90| 62 65 67 69 6e 0d 2f 62 | 64 66 7b 62 69 6e 64 20 |begin./b|df{bind |
|00003fa0| 64 65 66 7d 62 69 6e 64 | 20 64 65 66 0d 63 75 72 |def}bind| def.cur|
|00003fb0| 72 65 6e 74 73 63 72 65 | 65 6e 2f 63 73 20 65 78 |rentscre|en/cs ex|
|00003fc0| 63 68 20 64 65 66 2f 63 | 61 20 65 78 63 68 20 64 |ch def/c|a exch d|
|00003fd0| 65 66 2f 63 66 20 65 78 | 63 68 20 64 65 66 0d 2f |ef/cf ex|ch def./|
|00003fe0| 73 65 74 63 6d 79 6b 63 | 6f 6c 6f 72 20 77 68 65 |setcmykc|olor whe|
|00003ff0| 72 65 7b 2f 73 65 74 63 | 6d 79 6b 63 6f 6c 6f 72 |re{/setc|mykcolor|
|00004000| 20 67 65 74 20 2f 63 76 | 63 6d 79 6b 20 65 78 63 | get /cv|cmyk exc|
|00004010| 68 20 64 65 66 7d 7b 2f | 63 76 63 6d 79 6b 7b 31 |h def}{/|cvcmyk{1|
|00004020| 20 73 75 62 20 34 20 31 | 20 72 6f 6c 6c 20 33 7b | sub 4 1| roll 3{|
|00004030| 33 20 69 6e 64 65 78 20 | 61 64 64 20 6e 65 67 20 |3 index |add neg |
|00004040| 64 75 70 20 30 20 6c 74 | 7b 70 6f 70 20 30 7d 69 |dup 0 lt|{pop 0}i|
|00004050| 66 20 33 20 31 20 72 6f | 6c 6c 7d 72 65 70 65 61 |f 3 1 ro|ll}repea|
|00004060| 74 20 73 65 74 72 67 62 | 63 6f 6c 6f 72 20 70 6f |t setrgb|color po|
|00004070| 70 7d 62 64 66 20 7d 69 | 66 65 6c 73 65 0d 2f 73 |p}bdf }i|felse./s|
|00004080| 73 7b 2f 2f 63 66 20 2f | 2f 63 61 20 2f 2f 63 73 |s{//cf /|/ca //cs|
|00004090| 20 73 65 74 73 63 72 65 | 65 6e 7d 62 64 66 0d 2f | setscre|en}bdf./|
|000040a0| 73 74 67 7b 73 73 20 73 | 65 74 67 72 61 79 7d 62 |stg{ss s|etgray}b|
|000040b0| 64 66 0d 2f 73 74 72 67 | 62 7b 73 73 20 73 65 74 |df./strg|b{ss set|
|000040c0| 72 67 62 63 6f 6c 6f 72 | 7d 62 64 66 0d 2f 73 74 |rgbcolor|}bdf./st|
|000040d0| 63 6d 79 6b 7b 73 73 20 | 63 76 63 6d 79 6b 7d 62 |cmyk{ss |cvcmyk}b|
|000040e0| 64 66 0d 2f 6d 69 6e 31 | 7b 64 75 70 20 30 20 65 |df./min1|{dup 0 e|
|000040f0| 71 7b 70 6f 70 20 31 7d | 69 66 7d 62 64 66 0d 65 |q{pop 1}|if}bdf.e|
|00004100| 6e 64 0d 63 75 72 72 65 | 6e 74 64 69 63 74 20 2f |nd.curre|ntdict /|
|00004110| 62 6e 20 6b 6e 6f 77 6e | 20 7b 62 6e 7d 69 66 0d |bn known| {bn}if.|
|00004120| 00 a0 00 bf 17 ea 00 00 | 00 00 03 48 02 52 00 11 |........|...H.R..|
|00004130| 02 ff 0c 00 ff ff ff ff | 00 00 00 00 00 00 00 00 |........|........|
|00004140| 02 52 00 00 03 48 00 00 | 00 00 00 00 00 1e 00 01 |.R...H..|........|
|00004150| 00 0a 00 00 00 00 03 49 | 02 52 00 2c 00 08 00 14 |.......I|.R.,....|
|00004160| 05 54 69 6d 65 73 00 03 | 00 14 00 0d 00 0a 00 2e |.Times..|........|
|00004170| 00 04 00 00 00 00 00 2b | 36 2d 19 4d 61 63 69 6e |.......+|6-.Macin|
|00004180| 74 6f 73 68 20 54 65 63 | 68 6e 69 63 61 6c 20 4e |tosh Tec|hnical N|
|00004190| 6f 74 65 73 00 20 00 2f | 00 34 00 2f 01 f9 00 20 |otes. ./|.4./... |
|000041a0| 02 c1 00 34 02 c1 01 f9 | 00 28 02 d6 00 36 01 32 |...4....|.(...6.2|
|000041b0| 00 29 05 05 20 6f 66 20 | 35 00 00 28 02 d6 01 67 |.).. of |5..(...g|
|000041c0| 22 50 61 72 74 69 61 6c | 20 52 65 73 6f 75 72 63 |"Partial| Resourc|
|000041d0| 65 20 4d 79 74 68 73 20 | 61 6e 64 20 4c 65 67 65 |e Myths |and Lege|
|000041e0| 6e 64 73 00 00 2b 6f 16 | 07 54 6f 6f 6c 62 6f 78 |nds..+o.|.Toolbox|
|000041f0| 00 2c 00 0a 00 16 07 43 | 6f 75 72 69 65 72 00 03 |.,.....C|ourier..|
|00004200| 00 16 00 0d 00 0c 00 06 | 00 01 00 00 00 a1 00 64 |........|.......d|
|00004210| 00 10 4f 4e 4c 4e 00 64 | 00 00 00 3c 00 36 00 48 |..ONLN.d|...<.6.H|
|00004220| 00 9f 00 28 00 46 00 36 | 0f 53 65 74 52 65 73 6f |...(.F.6|.SetReso|
|00004230| 75 72 63 65 53 69 7a 65 | 00 03 00 14 00 a1 00 64 |urceSize|.......d|
|00004240| 00 10 4f 4e 4c 4e 00 64 | 00 0f 00 3d 00 9f 00 49 |..ONLN.d|...=...I|
|00004250| 00 be 00 29 69 07 20 70 | 72 69 6f 72 20 00 00 06 |...)i. p|rior ...|
|00004260| 00 02 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00004270| 00 16 00 3d 00 be 00 49 | 01 51 00 29 1f 1e 74 6f |...=...I|.Q.)..to|
|00004280| 20 74 68 65 20 77 72 69 | 74 65 2e 20 54 68 65 20 | the wri|te. The |
|00004290| 72 65 73 75 6c 74 20 63 | 6f 64 65 20 00 03 00 16 |result c|ode ....|
|000042a0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 00 34 00 3c |...d..ON|LN.d.4.<|
|000042b0| 01 51 00 48 01 b3 00 29 | 93 0e 77 72 69 74 69 6e |.Q.H...)|..writin|
|000042c0| 67 50 61 73 74 45 6e 64 | 00 03 00 14 00 a1 00 64 |gPastEnd|.......d|
|000042d0| 00 10 4f 4e 4c 4e 00 64 | 00 42 00 3d 01 b3 00 49 |..ONLN.d|.B.=...I|
|000042e0| 01 f8 00 29 62 0e 20 69 | 73 20 63 6f 6d 70 6c 65 |...)b. i|s comple|
|000042f0| 74 65 6c 79 00 06 00 00 | 00 00 00 a1 00 64 00 10 |tely....|.....d..|
|00004300| 4f 4e 4c 4e 00 64 00 51 | 00 49 00 36 00 55 01 55 |ONLN.d.Q|.I.6.U.U|
|00004310| 00 28 00 52 00 36 3b 65 | 72 72 6f 6e 65 6f 75 73 |.(.R.6;e|rroneous|
|00004320| 20 61 6e 64 20 69 73 20 | 6e 6f 74 20 72 65 74 75 | and is |not retu|
|00004330| 72 6e 65 64 20 62 79 20 | 61 6e 79 20 52 65 73 6f |rned by |any Reso|
|00004340| 75 72 63 65 20 4d 61 6e | 61 67 65 72 20 63 61 6c |urce Man|ager cal|
|00004350| 6c 2e 00 04 01 00 00 0d | 00 0e 00 a1 00 64 00 10 |l.......|.....d..|
|00004360| 4f 4e 4c 4e 00 64 00 8d | 00 6f 00 36 00 7e 01 64 |ONLN.d..|.o.6.~.d|
|00004370| 00 2a 29 2a 52 65 70 6c | 61 63 65 6d 65 6e 74 20 |.*)*Repl|acement |
|00004380| 50 61 72 74 69 61 6c 20 | 52 65 73 6f 75 72 63 65 |Partial |Resource|
|00004390| 20 44 6f 63 75 6d 65 6e | 74 61 74 69 6f 6e 00 04 | Documen|tation..|
|000043a0| 00 00 00 0d 00 0c 00 06 | 00 04 00 00 00 a1 00 64 |........|.......d|
|000043b0| 00 10 4f 4e 4c 4e 00 64 | 00 b8 00 8a 00 36 00 96 |..ONLN.d|.....6..|
|000043c0| 01 c4 00 2a 18 4a 54 68 | 65 20 63 6f 72 72 65 63 |...*.JTh|e correc|
|000043d0| 74 20 74 65 78 74 20 64 | 6f 63 75 6d 65 6e 74 69 |t text d|ocumenti|
|000043e0| 6e 67 20 74 68 65 73 65 | 20 74 77 6f 20 72 6f 75 |ng these| two rou|
|000043f0| 74 69 6e 65 73 20 66 6f | 6c 6c 6f 77 73 2e 20 20 |tines fo|llows. |
|00004400| 54 68 69 73 20 73 75 70 | 65 72 73 65 64 65 73 20 |This sup|ersedes |
|00004410| 00 06 00 05 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00004420| 00 64 01 02 00 8a 01 c4 | 00 96 01 f8 00 28 00 93 |.d......|.....(..|
|00004430| 01 c4 0b 61 6c 6c 20 63 | 75 72 72 65 6e 74 00 06 |...all c|urrent..|
|00004440| 00 01 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00004450| 01 0e 00 96 00 36 00 a2 | 00 d8 00 28 00 9f 00 36 |.....6..|...(...6|
|00004460| 21 64 6f 63 75 6d 65 6e | 74 61 74 69 6f 6e 20 63 |!documen|tation c|
|00004470| 6f 6e 63 65 72 6e 69 6e | 67 20 70 61 72 74 69 61 |oncernin|g partia|
|00004480| 6c 20 00 06 00 02 00 00 | 00 a1 00 64 00 10 4f 4e |l ......|...d..ON|
|00004490| 4c 4e 00 64 01 2f 00 96 | 00 d8 00 a2 01 42 00 29 |LN.d./..|.....B.)|
|000044a0| a2 16 72 65 73 6f 75 72 | 63 65 73 2c 20 69 6e 63 |..resour|ces, inc|
|000044b0| 6c 75 64 69 6e 67 3a 20 | 00 04 02 00 00 a1 00 64 |luding: |.......d|
|000044c0| 00 10 4f 4e 4c 4e 00 64 | 01 45 00 96 01 42 00 a2 |..ONLN.d|.E...B..|
|000044d0| 01 d4 00 29 6a 1b 49 6e | 73 69 64 65 20 4d 61 63 |...)j.In|side Mac|
|000044e0| 69 6e 74 6f 73 68 2c 20 | 56 6f 6c 75 6d 65 20 56 |intosh, |Volume V|
|000044f0| 49 00 00 04 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |I.......|.d..ONLN|
|00004500| 00 64 01 60 00 96 01 d4 | 00 a2 01 f8 00 29 92 07 |.d.`....|.....)..|
|00004510| 2c 20 70 61 67 65 73 00 | 00 06 00 00 00 00 00 a1 |, pages.|........|
|00004520| 00 64 00 10 4f 4e 4c 4e | 00 64 01 68 00 a2 00 36 |.d..ONLN|.d.h...6|
|00004530| 00 ae 00 52 00 28 00 ab | 00 36 05 31 33 2d 31 36 |...R.(..|.6.13-16|
|00004540| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 01 6e 00 a2 |...d..ON|LN.d.n..|
|00004550| 00 52 00 ae 00 b3 00 29 | 1c 13 d0 31 37 2c 20 31 |.R.....)|...17, 1|
|00004560| 33 2d 32 31 d0 32 33 3b | 20 61 6e 64 20 00 00 04 |3-21.23;| and ...|
|00004570| 02 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 01 81 |.....d..|ONLN.d..|
|00004580| 00 a2 00 b3 00 ae 01 82 | 00 29 61 28 49 6e 73 69 |........|.)a(Insi|
|00004590| 64 65 20 4d 61 63 69 6e | 74 6f 73 68 3a 20 4d 6f |de Macin|tosh: Mo|
|000045a0| 72 65 20 4d 61 63 69 6e | 74 6f 73 68 20 54 6f 6f |re Macin|tosh Too|
|000045b0| 6c 62 6f 78 00 04 00 00 | 00 a1 00 64 00 10 4f 4e |lbox....|...d..ON|
|000045c0| 4c 4e 00 64 01 a9 00 a2 | 01 82 00 ae 01 c3 00 29 |LN.d....|.......)|
|000045d0| cf 0d 2c 20 70 61 67 65 | 73 20 31 2d 31 31 31 00 |.., page|s 1-111.|
|000045e0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 01 b7 00 a2 |...d..ON|LN.d....|
|000045f0| 01 c3 00 ae 01 df 00 29 | 41 05 d0 31 31 35 2e 00 |.......)|A..115..|
|00004600| 00 04 01 00 00 0d 00 0e | 00 a1 00 64 00 10 4f 4e |........|...d..ON|
|00004610| 4c 4e 00 64 01 bd 00 c6 | 00 36 00 d5 01 39 00 28 |LN.d....|.6...9.(|
|00004620| 00 d2 00 36 25 52 65 61 | 64 69 6e 67 20 61 6e 64 |...6%Rea|ding and|
|00004630| 20 57 72 69 74 69 6e 67 | 20 50 61 72 74 69 61 6c | Writing| Partial|
|00004640| 20 52 65 73 6f 75 72 63 | 65 73 00 04 00 00 00 0d | Resourc|es......|
|00004650| 00 0c 00 06 00 0b 00 00 | 00 a1 00 64 00 10 4f 4e |........|...d..ON|
|00004660| 4c 4e 00 64 01 e3 00 e2 | 00 36 00 ee 00 b0 00 2a |LN.d....|.6.....*|
|00004670| 19 10 59 6f 75 20 63 61 | 6e 20 75 73 65 20 74 68 |..You ca|n use th|
|00004680| 65 20 00 03 00 16 00 06 | 00 0c 00 00 00 a1 00 64 |e ......|.......d|
|00004690| 00 10 4f 4e 4c 4e 00 64 | 01 f3 00 e1 00 b0 00 ed |..ONLN.d|........|
|000046a0| 01 35 00 29 7a 13 52 65 | 61 64 50 61 72 74 69 61 |.5.)z.Re|adPartia|
|000046b0| 6c 52 65 73 6f 75 72 63 | 65 00 00 03 00 14 00 a1 |lResourc|e.......|
|000046c0| 00 64 00 10 4f 4e 4c 4e | 00 64 02 06 00 e2 01 35 |.d..ONLN|.d.....5|
|000046d0| 00 ee 01 48 00 29 85 02 | 2c 20 00 03 00 16 00 a1 |...H.)..|, ......|
|000046e0| 00 64 00 10 4f 4e 4c 4e | 00 64 02 08 00 e1 01 48 |.d..ONLN|.d.....H|
|000046f0| 00 ed 01 d4 00 29 13 14 | 57 72 69 74 65 50 61 72 |.....)..|WritePar|
|00004700| 74 69 61 6c 52 65 73 6f | 75 72 63 65 00 03 00 14 |tialReso|urce....|
|00004710| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 02 1c 00 e2 |...d..ON|LN.d....|
|00004720| 01 d4 00 ee 01 f8 00 29 | 8c 05 2c 20 61 6e 64 00 |.......)|.., and.|
|00004730| 00 03 00 16 00 06 00 02 | 00 00 00 a1 00 64 00 10 |........|.....d..|
|00004740| 4f 4e 4c 4e 00 64 02 22 | 00 ee 00 36 00 fa 00 9f |ONLN.d."|...6....|
|00004750| 00 28 00 f8 00 36 0f 53 | 65 74 52 65 73 6f 75 72 |.(...6.S|etResour|
|00004760| 63 65 53 69 7a 65 00 03 | 00 14 00 a1 00 64 00 10 |ceSize..|.....d..|
|00004770| 4f 4e 4c 4e 00 64 02 31 | 00 ef 00 9f 00 fb 01 6d |ONLN.d.1|.......m|
|00004780| 00 29 69 28 20 70 72 6f | 63 65 64 75 72 65 73 20 |.)i( pro|cedures |
|00004790| 74 6f 20 77 6f 72 6b 20 | 77 69 74 68 20 61 20 70 |to work |with a p|
|000047a0| 6f 72 74 69 6f 6e 20 6f | 66 20 61 20 00 06 00 03 |ortion o|f a ....|
|000047b0| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 02 59 |.....d..|ONLN.d.Y|
|000047c0| 00 ef 01 6d 00 fb 01 f8 | 00 29 ce 1b 6c 61 72 67 |...m....|.)..larg|
|000047d0| 65 20 72 65 73 6f 75 72 | 63 65 20 74 68 61 74 20 |e resour|ce that |
|000047e0| 6d 61 79 20 6e 6f 74 00 | 00 06 00 00 00 00 00 a1 |may not.|........|
|000047f0| 00 64 00 10 4f 4e 4c 4e | 00 64 02 75 00 fb 00 36 |.d..ONLN|.d.u...6|
|00004800| 01 07 00 ab 00 28 01 04 | 00 36 18 6f 74 68 65 72 |.....(..|.6.other|
|00004810| 77 69 73 65 20 66 69 74 | 20 69 6e 20 6d 65 6d 6f |wise fit| in memo|
|00004820| 72 79 2e 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |ry.....d|..ONLN.d|
|00004830| 02 8e 01 14 00 36 01 20 | 01 46 00 2a 19 3a 57 68 |.....6. |.F.*.:Wh|
|00004840| 65 6e 20 75 73 69 6e 67 | 20 70 61 72 74 69 61 6c |en using| partial|
|00004850| 20 72 65 73 6f 75 72 63 | 65 20 72 6f 75 74 69 6e | resourc|e routin|
|00004860| 65 73 2c 20 79 6f 75 20 | 73 68 6f 75 6c 64 20 63 |es, you |should c|
|00004870| 61 6c 6c 20 74 68 65 20 | 00 03 00 16 00 06 00 01 |all the |........|
|00004880| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 02 c8 |.....d..|ONLN.d..|
|00004890| 01 13 01 46 01 1f 01 8c | 00 28 01 1d 01 46 0a 53 |...F....|.(...F.S|
|000048a0| 65 74 52 65 73 4c 6f 61 | 64 00 00 03 00 14 00 a1 |etResLoa|d.......|
|000048b0| 00 64 00 10 4f 4e 4c 4e | 00 64 02 d2 01 14 01 8c |.d..ONLN|.d......|
|000048c0| 01 20 01 f8 00 29 46 16 | 20 70 72 6f 63 65 64 75 |. ...)F.| procedu|
|000048d0| 72 65 2c 20 73 70 65 63 | 69 66 79 69 6e 67 00 03 |re, spec|ifying..|
|000048e0| 00 16 00 06 00 02 00 00 | 00 a1 00 64 00 10 4f 4e |........|...d..ON|
|000048f0| 4c 4e 00 64 02 e9 01 20 | 00 36 01 2c 00 59 00 28 |LN.d... |.6.,.Y.(|
|00004900| 01 2a 00 36 05 46 41 4c | 53 45 00 03 00 14 00 a1 |.*.6.FAL|SE......|
|00004910| 00 64 00 10 4f 4e 4c 4e | 00 64 02 ee 01 21 00 59 |.d..ONLN|.d...!.Y|
|00004920| 01 2d 01 0e 00 29 23 24 | 20 66 6f 72 20 74 68 65 |.-...)#$| for the|
|00004930| 20 6c 6f 61 64 20 70 61 | 72 61 6d 65 74 65 72 2c | load pa|rameter,|
|00004940| 20 62 65 66 6f 72 65 20 | 79 6f 75 20 00 06 00 03 | before |you ....|
|00004950| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 03 12 |.....d..|ONLN.d..|
|00004960| 01 21 01 0e 01 2d 01 24 | 00 29 b5 05 63 61 6c 6c |.!...-.$|.)..call|
|00004970| 20 00 00 03 00 16 00 a1 | 00 64 00 10 4f 4e 4c 4e | .......|.d..ONLN|
|00004980| 00 64 03 17 01 20 01 24 | 01 2c 01 71 00 29 16 0b |.d... .$|.,.q.)..|
|00004990| 47 65 74 52 65 73 6f 75 | 72 63 65 00 00 03 00 14 |GetResou|rce.....|
|000049a0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 03 22 01 21 |...d..ON|LN.d.".!|
|000049b0| 01 71 01 2d 01 b2 00 29 | 4d 0c 2e 20 55 73 69 6e |.q.-...)|M.. Usin|
|000049c0| 67 20 74 68 65 20 00 03 | 00 16 00 a1 00 64 00 10 |g the ..|.....d..|
|000049d0| 4f 4e 4c 4e 00 64 03 2e | 01 20 01 b2 01 2c 01 f8 |ONLN.d..|. ...,..|
|000049e0| 00 29 41 0a 53 65 74 52 | 65 73 4c 6f 61 64 00 03 |.)A.SetR|esLoad..|
|000049f0| 00 14 00 06 00 01 00 00 | 00 a1 00 64 00 10 4f 4e |........|...d..ON|
|00004a00| 4c 4e 00 64 03 39 01 2d | 00 36 01 39 01 58 00 28 |LN.d.9.-|.6.9.X.(|
|00004a10| 01 36 00 36 39 70 72 6f | 63 65 64 75 72 65 20 70 |.6.69pro|cedure p|
|00004a20| 72 65 76 65 6e 74 73 20 | 74 68 65 20 52 65 73 6f |revents |the Reso|
|00004a30| 75 72 63 65 20 4d 61 6e | 61 67 65 72 20 66 72 6f |urce Man|ager fro|
|00004a40| 6d 20 72 65 61 64 69 6e | 67 20 74 68 65 20 00 06 |m readin|g the ..|
|00004a50| 00 02 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00004a60| 03 72 01 2d 01 58 01 39 | 01 f8 00 28 01 36 01 58 |.r.-.X.9|...(.6.X|
|00004a70| 1f 65 6e 74 69 72 65 20 | 72 65 73 6f 75 72 63 65 |.entire |resource|
|00004a80| 20 69 6e 74 6f 20 6d 65 | 6d 6f 72 79 2e 20 42 65 | into me|mory. Be|
|00004a90| 00 06 00 00 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00004aa0| 00 64 03 92 01 3a 00 36 | 01 46 00 8d 00 28 01 43 |.d...:.6|.F...(.C|
|00004ab0| 00 36 14 73 75 72 65 20 | 74 6f 20 72 65 73 74 6f |.6.sure |to resto|
|00004ac0| 72 65 20 74 68 65 20 00 | 00 06 00 01 00 00 00 a1 |re the .|........|
|00004ad0| 00 64 00 10 4f 4e 4c 4e | 00 64 03 a6 01 3a 00 8d |.d..ONLN|.d...:..|
|00004ae0| 01 46 00 fe 00 29 57 18 | 6e 6f 72 6d 61 6c 20 73 |.F...)W.|normal s|
|00004af0| 74 61 74 65 20 62 79 20 | 63 61 6c 6c 69 6e 67 20 |tate by |calling |
|00004b00| 00 03 00 16 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00004b10| 03 be 01 39 00 fe 01 45 | 01 44 00 29 71 0a 53 65 |...9...E|.D.)q.Se|
|00004b20| 74 52 65 73 4c 6f 61 64 | 00 03 00 14 00 a1 00 64 |tResLoad|.......d|
|00004b30| 00 10 4f 4e 4c 4e 00 64 | 03 c8 01 3a 01 44 01 46 |..ONLN.d|...:.D.F|
|00004b40| 01 f8 00 29 46 26 20 61 | 67 61 69 6e 2c 20 77 69 |...)F& a|gain, wi|
|00004b50| 74 68 20 74 68 65 20 6c | 6f 61 64 20 70 61 72 61 |th the l|oad para|
|00004b60| 6d 65 74 65 72 20 73 65 | 74 20 74 6f 00 03 00 16 |meter se|t to....|
|00004b70| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 03 ef 01 46 |...d..ON|LN.d...F|
|00004b80| 00 36 01 52 00 52 00 28 | 01 50 00 36 04 54 52 55 |.6.R.R.(|.P.6.TRU|
|00004b90| 45 00 00 03 00 14 00 a1 | 00 64 00 10 4f 4e 4c 4e |E.......|.d..ONLN|
|00004ba0| 00 64 03 f3 01 47 00 52 | 01 53 00 97 00 29 1c 0e |.d...G.R|.S...)..|
|00004bb0| 2c 20 69 6d 6d 65 64 69 | 61 74 65 6c 79 20 00 06 |, immedi|ately ..|
|00004bc0| 00 02 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00004bd0| 04 01 01 47 00 97 01 53 | 00 dd 00 29 45 0f 61 66 |...G...S|...)E.af|
|00004be0| 74 65 72 20 79 6f 75 20 | 63 61 6c 6c 20 00 00 03 |ter you |call ...|
|00004bf0| 00 16 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 04 10 |.....d..|ONLN.d..|
|00004c00| 01 46 00 dd 01 52 01 2a | 00 29 46 0b 47 65 74 52 |.F...R.*|.)F.GetR|
|00004c10| 65 73 6f 75 72 63 65 00 | 00 03 00 14 00 a1 00 64 |esource.|.......d|
|00004c20| 00 10 4f 4e 4c 4e 00 64 | 04 1b 01 47 01 2a 01 53 |..ONLN.d|...G.*.S|
|00004c30| 01 65 00 29 4d 0b 2e 20 | 54 68 65 6e 20 75 73 65 |.e.)M.. |Then use|
|00004c40| 20 00 00 03 00 16 00 a1 | 00 64 00 10 4f 4e 4c 4e | .......|.d..ONLN|
|00004c50| 00 64 04 26 01 46 01 65 | 01 52 01 ea 00 29 3b 13 |.d.&.F.e|.R...);.|
|00004c60| 52 65 61 64 50 61 72 74 | 69 61 6c 52 65 73 6f 75 |ReadPart|ialResou|
|00004c70| 72 63 65 00 00 03 00 14 | 00 a1 00 64 00 10 4f 4e |rce.....|...d..ON|
|00004c80| 4c 4e 00 64 04 39 01 47 | 01 ea 01 53 01 f8 00 29 |LN.d.9.G|...S...)|
|00004c90| 85 03 20 74 6f 00 00 06 | 00 00 00 00 00 a1 00 64 |.. to...|.......d|
|00004ca0| 00 10 4f 4e 4c 4e 00 64 | 04 3d 01 54 00 36 01 60 |..ONLN.d|.=.T.6.`|
|00004cb0| 01 14 00 28 01 5d 00 36 | 31 72 65 61 64 20 61 20 |...(.].6|1read a |
|00004cc0| 70 6f 72 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 72 |portion |of the r|
|00004cd0| 65 73 6f 75 72 63 65 20 | 69 6e 74 6f 20 61 20 62 |esource |into a b|
|00004ce0| 75 66 66 65 72 20 61 6e | 64 20 00 03 00 16 00 a1 |uffer an|d ......|
|00004cf0| 00 64 00 10 4f 4e 4c 4e | 00 64 04 6e 01 53 01 14 |.d..ONLN|.d.n.S..|
|00004d00| 01 5f 01 a0 00 29 de 14 | 57 72 69 74 65 50 61 72 |._...)..|WritePar|
|00004d10| 74 69 61 6c 52 65 73 6f | 75 72 63 65 00 03 00 14 |tialReso|urce....|
|00004d20| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 04 82 01 54 |...d..ON|LN.d...T|
|00004d30| 01 a0 01 60 01 e0 00 29 | 8c 0e 20 61 73 20 6e 65 |...`...)|.. as ne|
|00004d40| 65 64 65 64 20 74 6f 20 | 00 06 00 01 00 00 00 a1 |eded to |........|
|00004d50| 00 64 00 10 4f 4e 4c 4e | 00 64 04 90 01 54 01 e0 |.d..ONLN|.d...T..|
|00004d60| 01 60 01 f8 00 29 40 05 | 77 72 69 74 65 00 00 06 |.`...)@.|write...|
|00004d70| 00 00 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00004d80| 04 96 01 60 00 36 01 6c | 01 12 00 28 01 69 00 36 |...`.6.l|...(.i.6|
|00004d90| 30 61 20 70 6f 72 74 69 | 6f 6e 20 6f 66 20 74 68 |0a porti|on of th|
|00004da0| 65 20 72 65 73 6f 75 72 | 63 65 20 66 72 6f 6d 20 |e resour|ce from |
|00004db0| 61 20 62 75 66 66 65 72 | 20 74 6f 20 64 69 73 6b |a buffer| to disk|
|00004dc0| 2e 00 00 06 00 01 00 00 | 00 a1 00 64 00 10 4f 4e |........|...d..ON|
|00004dd0| 4c 4e 00 64 04 c7 01 78 | 00 36 01 84 01 11 00 2a |LN.d...x|.6.....*|
|00004de0| 18 2e 4e 6f 74 65 20 74 | 68 61 74 20 74 68 65 20 |..Note t|hat the |
|00004df0| 70 61 72 74 69 61 6c 20 | 72 65 73 6f 75 72 63 65 |partial |resource|
|00004e00| 73 20 72 6f 75 74 69 6e | 65 73 20 77 6f 72 6b 20 |s routin|es work |
|00004e10| 00 06 00 02 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00004e20| 00 64 04 f5 01 78 01 11 | 01 84 01 f8 00 29 db 2d |.d...x..|.....).-|
|00004e30| 77 69 74 68 20 74 68 65 | 20 64 61 74 61 20 69 6e |with the| data in|
|00004e40| 20 74 68 65 20 6d 65 6d | 6f 72 79 20 70 6f 69 6e | the mem|ory poin|
|00004e50| 74 65 64 20 74 6f 20 62 | 79 20 74 68 65 00 00 03 |ted to b|y the...|
|00004e60| 00 16 00 06 00 00 00 00 | 00 a1 00 64 00 10 4f 4e |........|...d..ON|
|00004e70| 4c 4e 00 64 05 23 01 84 | 00 36 01 90 00 60 00 28 |LN.d.#..|.6...`.(|
|00004e80| 01 8e 00 36 06 62 75 66 | 66 65 72 00 00 03 00 14 |...6.buf|fer.....|
|00004e90| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 05 29 01 85 |...d..ON|LN.d.)..|
|00004ea0| 00 60 01 91 01 19 00 29 | 2a 26 20 70 61 72 61 6d |.`.....)|*& param|
|00004eb0| 65 74 65 72 2c 20 6e 6f | 74 20 74 68 65 20 6d 65 |eter, no|t the me|
|00004ec0| 6d 6f 72 79 20 72 65 66 | 65 72 65 6e 63 65 64 20 |mory ref|erenced |
|00004ed0| 00 06 00 01 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00004ee0| 00 64 05 4f 01 85 01 19 | 01 91 01 f8 00 29 b9 2d |.d.O....|.....).-|
|00004ef0| 74 68 72 6f 75 67 68 20 | 74 68 65 20 72 65 73 6f |through |the reso|
|00004f00| 75 72 63 65 d5 73 20 68 | 61 6e 64 6c 65 2e 20 54 |urce.s h|andle. T|
|00004f10| 68 65 72 65 66 6f 72 65 | 2c 20 79 6f 75 00 00 06 |herefore|, you...|
|00004f20| 00 00 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00004f30| 05 7d 01 91 00 36 01 9d | 01 0b 00 28 01 9a 00 36 |.}...6..|...(...6|
|00004f40| 2b 6d 61 79 20 65 78 70 | 65 72 69 65 6e 63 65 20 |+may exp|erience |
|00004f50| 70 72 6f 62 6c 65 6d 73 | 20 69 66 20 79 6f 75 20 |problems| if you |
|00004f60| 68 61 76 65 20 61 20 63 | 6f 70 79 20 00 06 00 01 |have a c|opy ....|
|00004f70| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 05 a8 |.....d..|ONLN.d..|
|00004f80| 01 91 01 0b 01 9d 01 f8 | 00 29 d5 2e 6f 66 20 61 |........|.)..of a|
|00004f90| 20 72 65 73 6f 75 72 63 | 65 20 69 6e 20 6d 65 6d | resourc|e in mem|
|00004fa0| 6f 72 79 20 77 68 65 6e | 20 79 6f 75 20 61 72 65 |ory when| you are|
|00004fb0| 20 75 73 69 6e 67 20 74 | 68 65 00 06 00 02 00 00 | using t|he......|
|00004fc0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 05 d7 01 9d |...d..ON|LN.d....|
|00004fd0| 00 36 01 a9 00 58 00 28 | 01 a6 00 36 08 70 61 72 |.6...X.(|...6.par|
|00004fe0| 74 69 61 6c 20 00 00 06 | 00 03 00 00 00 a1 00 64 |tial ...|.......d|
|00004ff0| 00 10 4f 4e 4c 4e 00 64 | 05 df 01 9d 00 58 01 a9 |..ONLN.d|.....X..|
|00005000| 01 f8 00 29 22 4e 72 65 | 73 6f 75 72 63 65 20 72 |...)"Nre|source r|
|00005010| 6f 75 74 69 6e 65 73 2e | 20 49 66 20 79 6f 75 20 |outines.| If you |
|00005020| 68 61 76 65 20 6d 6f 64 | 69 66 69 65 64 20 74 68 |have mod|ified th|
|00005030| 65 20 63 6f 70 79 20 69 | 6e 20 6d 65 6d 6f 72 79 |e copy i|n memory|
|00005040| 20 61 6e 64 20 74 68 65 | 6e 20 61 63 63 65 73 73 | and the|n access|
|00005050| 20 74 68 65 00 06 00 00 | 00 00 00 a1 00 64 00 10 | the....|.....d..|
|00005060| 4f 4e 4c 4e 00 64 06 2e | 01 aa 00 36 01 b6 00 b5 |ONLN.d..|...6....|
|00005070| 00 28 01 b3 00 36 1b 72 | 65 73 6f 75 72 63 65 20 |.(...6.r|esource |
|00005080| 6f 6e 20 64 69 73 6b 20 | 75 73 69 6e 67 20 74 68 |on disk |using th|
|00005090| 65 20 00 03 00 16 00 a1 | 00 64 00 10 4f 4e 4c 4e |e ......|.d..ONLN|
|000050a0| 00 64 06 49 01 a9 00 b5 | 01 b5 01 3a 00 29 7f 13 |.d.I....|...:.)..|
|000050b0| 52 65 61 64 50 61 72 74 | 69 61 6c 52 65 73 6f 75 |ReadPart|ialResou|
|000050c0| 72 63 65 00 00 03 00 14 | 00 a1 00 64 00 10 4f 4e |rce.....|...d..ON|
|000050d0| 4c 4e 00 64 06 5c 01 aa | 01 3a 01 b6 01 73 00 29 |LN.d.\..|.:...s.)|
|000050e0| 85 0c 20 70 72 6f 63 65 | 64 75 72 65 2c 20 00 03 |.. proce|dure, ..|
|000050f0| 00 16 00 06 00 01 00 00 | 00 a1 00 64 00 10 4f 4e |........|...d..ON|
|00005100| 4c 4e 00 64 06 68 01 a9 | 01 73 01 b5 01 f8 00 29 |LN.d.h..|.s.....)|
|00005110| 39 13 52 65 61 64 50 61 | 72 74 69 61 6c 52 65 73 |9.ReadPa|rtialRes|
|00005120| 6f 75 72 63 65 00 00 03 | 00 14 00 a1 00 64 00 10 |ource...|.....d..|
|00005130| 4f 4e 4c 4e 00 64 06 7c | 01 b6 00 36 01 c2 00 a8 |ONLN.d.||...6....|
|00005140| 00 28 01 bf 00 36 18 72 | 65 61 64 73 20 74 68 65 |.(...6.r|eads the|
|00005150| 20 64 61 74 61 20 6f 6e | 20 64 69 73 6b 2c 20 00 | data on| disk, .|
|00005160| 00 06 00 02 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00005170| 00 64 06 94 01 b6 00 a8 | 01 c2 01 f8 00 29 72 42 |.d......|.....)rB|
|00005180| 6e 6f 74 20 74 68 65 20 | 64 61 74 61 20 69 6e 20 |not the |data in |
|00005190| 6d 65 6d 6f 72 79 2c 20 | 77 68 69 63 68 20 69 73 |memory, |which is|
|000051a0| 20 72 65 66 65 72 65 6e | 63 65 64 20 74 68 72 6f | referen|ced thro|
|000051b0| 75 67 68 20 74 68 65 20 | 72 65 73 6f 75 72 63 65 |ugh the |resource|
|000051c0| d5 73 00 06 00 00 00 00 | 00 a1 00 64 00 10 4f 4e |.s......|...d..ON|
|000051d0| 4c 4e 00 64 06 d7 01 c3 | 00 36 01 cf 00 8e 00 28 |LN.d....|.6.....(|
|000051e0| 01 cc 00 36 13 68 61 6e | 64 6c 65 2e 20 53 69 6d |...6.han|dle. Sim|
|000051f0| 69 6c 61 72 6c 79 2c 20 | 00 03 00 16 00 a1 00 64 |ilarly, |.......d|
|00005200| 00 10 4f 4e 4c 4e 00 64 | 06 ea 01 c2 00 8e 01 ce |..ONLN.d|........|
|00005210| 01 1a 00 29 58 14 57 72 | 69 74 65 50 61 72 74 69 |...)X.Wr|iteParti|
|00005220| 61 6c 52 65 73 6f 75 72 | 63 65 00 03 00 14 00 a1 |alResour|ce......|
|00005230| 00 64 00 10 4f 4e 4c 4e | 00 64 06 fe 01 c3 01 1a |.d..ONLN|.d......|
|00005240| 01 cf 01 e1 00 29 8c 2c | 20 77 72 69 74 65 73 20 |.....).,| writes |
|00005250| 64 61 74 61 20 66 72 6f | 6d 20 74 68 65 20 73 70 |data fro|m the sp|
|00005260| 65 63 69 66 69 65 64 20 | 62 75 66 66 65 72 2c 20 |ecified |buffer, |
|00005270| 6e 6f 74 20 00 06 00 01 | 00 00 00 a1 00 64 00 10 |not ....|.....d..|
|00005280| 4f 4e 4c 4e 00 64 07 2a | 01 c3 01 e1 01 cf 01 f8 |ONLN.d.*|........|
|00005290| 00 29 c7 04 66 72 6f 6d | 00 06 00 00 00 00 00 a1 |.)..from|........|
|000052a0| 00 64 00 10 4f 4e 4c 4e | 00 64 07 2f 01 cf 00 36 |.d..ONLN|.d./...6|
|000052b0| 01 db 01 86 00 28 01 d8 | 00 36 46 74 68 65 20 64 |.....(..|.6Fthe d|
|000052c0| 61 74 61 20 69 6e 20 6d | 65 6d 6f 72 79 2c 20 77 |ata in m|emory, w|
|000052d0| 68 69 63 68 20 69 73 20 | 72 65 66 65 72 65 6e 63 |hich is |referenc|
|000052e0| 65 64 20 74 68 72 6f 75 | 67 68 20 74 68 65 20 72 |ed throu|gh the r|
|000052f0| 65 73 6f 75 72 63 65 d5 | 73 20 68 61 6e 64 6c 65 |esource.|s handle|
|00005300| 2e 00 00 06 00 01 00 00 | 00 a1 00 64 00 10 4f 4e |........|...d..ON|
|00005310| 4c 4e 00 64 07 76 01 e7 | 00 36 01 f3 01 df 00 2a |LN.d.v..|.6.....*|
|00005320| 18 55 54 68 65 20 70 61 | 72 74 69 61 6c 20 72 65 |.UThe pa|rtial re|
|00005330| 73 6f 75 72 63 65 73 20 | 72 6f 75 74 69 6e 65 73 |sources |routines|
|00005340| 20 64 6f 20 6e 6f 74 20 | 64 65 63 6f 6d 70 72 65 | do not |decompre|
|00005350| 73 73 20 41 70 70 6c 65 | d5 73 20 63 6f 6d 70 72 |ss Apple|.s compr|
|00005360| 65 73 73 65 64 20 72 65 | 73 6f 75 72 63 65 20 66 |essed re|source f|
|00005370| 6f 72 6d 61 74 2e 20 00 | 00 06 00 02 00 00 00 a1 |ormat. .|........|
|00005380| 00 64 00 10 4f 4e 4c 4e | 00 64 07 cb 01 e7 01 df |.d..ONLN|.d......|
|00005390| 01 f3 01 f8 00 28 01 f0 | 01 df 06 20 49 74 20 69 |.....(..|... It i|
|000053a0| 73 00 00 06 00 00 00 00 | 00 a1 00 64 00 10 4f 4e |s.......|...d..ON|
|000053b0| 4c 4e 00 64 07 d2 01 f3 | 00 36 01 ff 00 48 00 28 |LN.d....|.6...H.(|
|000053c0| 01 fc 00 36 04 6e 6f 74 | 20 00 00 06 00 01 00 00 |...6.not| .......|
|000053d0| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 07 d6 01 f3 |...d..ON|LN.d....|
|000053e0| 00 48 01 ff 01 f8 00 29 | 12 58 72 65 61 6c 6c 79 |.H.....)|.Xreally|
|000053f0| 20 70 6f 73 73 69 62 6c | 65 20 74 6f 20 64 65 63 | possibl|e to dec|
|00005400| 6f 6d 70 72 65 73 73 20 | 70 61 72 74 20 6f 66 20 |ompress |part of |
|00005410| 61 20 72 65 73 6f 75 72 | 63 65 2c 20 73 69 6e 63 |a resour|ce, sinc|
|00005420| 65 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 64 65 |e the cu|rrent de|
|00005430| 63 6f 6d 70 72 65 73 73 | 69 6f 6e 20 6d 65 74 68 |compress|ion meth|
|00005440| 6f 64 00 06 00 00 00 00 | 00 a1 00 64 00 10 4f 4e |od......|...d..ON|
|00005450| 4c 4e 00 64 08 2f 01 ff | 00 36 02 0b 01 08 00 28 |LN.d./..|.6.....(|
|00005460| 02 08 00 36 2d 72 65 71 | 75 69 72 65 73 20 74 68 |...6-req|uires th|
|00005470| 65 20 65 6e 74 69 72 65 | 20 72 65 73 6f 75 72 63 |e entire| resourc|
|00005480| 65 20 74 6f 20 62 65 20 | 69 6e 20 6d 65 6d 6f 72 |e to be |in memor|
|00005490| 79 20 00 06 00 01 00 00 | 00 a1 00 64 00 10 4f 4e |y ......|...d..ON|
|000054a0| 4c 4e 00 64 08 5c 01 ff | 01 08 02 0b 01 f8 00 29 |LN.d.\..|.......)|
|000054b0| d2 33 66 6f 72 20 74 68 | 65 20 63 6f 6e 76 65 72 |.3for th|e conver|
|000054c0| 73 69 6f 6e 20 74 6f 20 | 6f 63 63 75 72 2e 20 54 |sion to |occur. T|
|000054d0| 68 65 72 65 66 6f 72 65 | 2c 20 74 68 65 20 70 61 |herefore|, the pa|
|000054e0| 72 74 69 61 6c 00 00 06 | 00 00 00 00 00 a1 00 64 |rtial...|.......d|
|000054f0| 00 10 4f 4e 4c 4e 00 64 | 08 90 02 0b 00 36 02 17 |..ONLN.d|.....6..|
|00005500| 01 2f 00 28 02 14 00 36 | 34 72 65 73 6f 75 72 63 |./.(...6|4resourc|
|00005510| 65 73 20 72 6f 75 74 69 | 6e 65 73 20 73 68 6f 75 |es routi|nes shou|
|00005520| 6c 64 20 6e 6f 74 20 62 | 65 20 75 73 65 64 20 77 |ld not b|e used w|
|00005530| 68 65 6e 20 74 68 65 20 | 64 61 74 61 20 00 00 06 |hen the |data ...|
|00005540| 00 01 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00005550| 08 c4 02 0b 01 2f 02 17 | 01 f8 00 29 f9 29 69 73 |...../..|...).)is|
|00005560| 20 69 6e 20 41 70 70 6c | 65 d5 73 20 70 72 6f 70 | in Appl|e.s prop|
|00005570| 72 69 65 74 61 72 79 20 | 66 6f 72 6d 61 74 2e 20 |rietary |format. |
|00005580| 59 6f 75 20 63 61 6e 00 | 00 06 00 00 00 00 00 a1 |You can.|........|
|00005590| 00 64 00 10 4f 4e 4c 4e | 00 64 08 ee 02 17 00 36 |.d..ONLN|.d.....6|
|000055a0| 02 23 01 63 00 28 02 20 | 00 36 40 64 65 74 65 72 |.#.c.(. |.6@deter|
|000055b0| 6d 69 6e 65 20 69 66 20 | 61 20 72 65 73 6f 75 72 |mine if |a resour|
|000055c0| 63 65 20 69 73 20 63 6f | 6d 70 72 65 73 73 65 64 |ce is co|mpressed|
|000055d0| 20 62 79 20 65 78 61 6d | 69 6e 69 6e 67 20 62 69 | by exam|ining bi|
|000055e0| 74 20 30 20 6f 66 20 74 | 68 65 20 00 00 06 00 01 |t 0 of t|he .....|
|000055f0| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 09 2e |.....d..|ONLN.d..|
|00005600| 02 17 01 63 02 23 01 f8 | 00 28 02 20 01 63 22 72 |...c.#..|.(. .c"r|
|00005610| 65 73 6f 75 72 63 65 d5 | 73 20 61 74 74 72 69 62 |esource.|s attrib|
|00005620| 75 74 65 73 2e 20 49 66 | 20 74 68 69 73 20 62 69 |utes. If| this bi|
|00005630| 74 00 00 06 00 00 00 00 | 00 a1 00 64 00 10 4f 4e |t.......|...d..ON|
|00005640| 4c 4e 00 64 09 51 02 23 | 00 36 02 2f 01 e4 00 28 |LN.d.Q.#|.6./...(|
|00005650| 02 2c 00 36 60 69 73 20 | 63 6c 65 61 72 2c 20 74 |.,.6`is |clear, t|
|00005660| 68 65 20 72 65 73 6f 75 | 72 63 65 20 69 73 20 6e |he resou|rce is n|
|00005670| 6f 74 20 63 6f 6d 70 72 | 65 73 73 65 64 20 61 6e |ot compr|essed an|
|00005680| 64 20 69 74 20 69 73 20 | 73 61 66 65 20 74 6f 20 |d it is |safe to |
|00005690| 75 73 65 20 74 68 65 73 | 65 20 70 61 72 74 69 61 |use thes|e partia|
|000056a0| 6c 20 72 65 73 6f 75 72 | 63 65 73 20 72 6f 75 74 |l resour|ces rout|
|000056b0| 69 6e 65 73 2e 00 00 04 | 01 00 00 0d 00 0e 00 a1 |ines....|........|
|000056c0| 00 64 00 10 4f 4e 4c 4e | 00 64 09 b2 02 49 00 36 |.d..ONLN|.d...I.6|
|000056d0| 02 58 00 bf 00 2a 29 13 | 52 65 61 64 50 61 72 74 |.X...*).|ReadPart|
|000056e0| 69 61 6c 52 65 73 6f 75 | 72 63 65 00 00 04 00 00 |ialResou|rce.....|
|000056f0| 00 0d 00 0c 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00005700| 09 c6 02 65 00 36 02 71 | 00 84 00 2a 19 10 59 6f |...e.6.q|...*..Yo|
|00005710| 75 20 63 61 6e 20 75 73 | 65 20 74 68 65 20 00 03 |u can us|e the ..|
|00005720| 00 16 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 09 d6 |.....d..|ONLN.d..|
|00005730| 02 64 00 84 02 70 01 09 | 00 29 4e 13 52 65 61 64 |.d...p..|.)N.Read|
|00005740| 50 61 72 74 69 61 6c 52 | 65 73 6f 75 72 63 65 00 |PartialR|esource.|
|00005750| 00 03 00 14 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00005760| 09 e9 02 65 01 09 02 71 | 01 4a 00 29 85 0e 20 70 |...e...q|.J.).. p|
|00005770| 72 6f 63 65 64 75 72 65 | 20 74 6f 20 00 06 00 01 |rocedure| to ....|
|00005780| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 09 f7 |.....d..|ONLN.d..|
|00005790| 02 65 01 4a 02 71 01 f8 | 00 29 41 23 72 65 61 64 |.e.J.q..|.)A#read|
|000057a0| 20 70 61 72 74 20 6f 66 | 20 61 20 72 65 73 6f 75 | part of| a resou|
|000057b0| 72 63 65 20 69 6e 74 6f | 20 6d 65 6d 6f 72 79 00 |rce into| memory.|
|000057c0| 00 06 00 00 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|000057d0| 00 64 0a 1b 02 71 00 36 | 02 7d 01 32 00 28 02 7a |.d...q.6|.}.2.(.z|
|000057e0| 00 36 35 61 6e 64 20 77 | 6f 72 6b 20 77 69 74 68 |.65and w|ork with|
|000057f0| 20 61 20 73 6d 61 6c 6c | 20 73 75 62 73 65 63 74 | a small| subsect|
|00005800| 69 6f 6e 20 6f 66 20 61 | 20 6c 61 72 67 65 20 72 |ion of a| large r|
|00005810| 65 73 6f 75 72 63 65 2e | 00 03 00 16 00 a1 00 64 |esource.|.......d|
|00005820| 00 10 4f 4e 4c 4e 00 64 | 0a 51 02 89 00 36 02 95 |..ONLN.d|.Q...6..|
|00005830| 01 9b 00 2a 19 33 50 52 | 4f 43 45 44 55 52 45 20 |...*.3PR|OCEDURE |
|00005840| 52 65 61 64 50 61 72 74 | 69 61 6c 52 65 73 6f 75 |ReadPart|ialResou|
|00005850| 72 63 65 20 28 74 68 65 | 52 65 73 6f 75 72 63 65 |rce (the|Resource|
|00005860| 3a 20 48 61 6e 64 6c 65 | 3b 00 00 a1 00 64 00 10 |: Handle|;....d..|
|00005870| 4f 4e 4c 4e 00 64 0a 85 | 02 95 00 36 02 a1 01 ef |ONLN.d..|...6....|
|00005880| 00 2a 0c 3f 20 20 20 20 | 20 20 20 20 20 20 20 20 |.*.? | |
|00005890| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000058a0| 20 6f 66 66 73 65 74 3a | 20 4c 6f 6e 67 49 6e 74 | offset:| LongInt|
|000058b0| 3b 20 62 75 66 66 65 72 | 3a 20 55 4e 49 56 20 50 |; buffer|: UNIV P|
|000058c0| 74 72 3b 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |tr;....d|..ONLN.d|
|000058d0| 0a c5 02 a1 00 36 02 ad | 01 71 00 2a 0c 2d 20 20 |.....6..|.q.*.- |
|000058e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000058f0| 20 20 20 20 20 20 20 20 | 20 20 20 63 6f 75 6e 74 | | count|
|00005900| 3a 20 4c 6f 6e 67 49 6e | 74 29 3b 00 00 ff 17 08 |: LongIn|t);.....|
|00005910| 00 00 00 00 03 48 02 52 | 00 11 02 ff 0c 00 ff ff |.....H.R|........|
|00005920| ff ff 00 00 00 00 00 00 | 00 00 02 52 00 00 03 48 |........|...R...H|
|00005930| 00 00 00 00 00 00 00 1e | 00 01 00 0a 00 00 00 00 |........|........|
|00005940| 03 49 02 52 00 2c 00 08 | 00 14 05 54 69 6d 65 73 |.I.R.,..|...Times|
|00005950| 00 03 00 14 00 0d 00 0a | 00 2e 00 04 00 00 00 00 |........|........|
|00005960| 00 2b 5a 2d 1b 44 65 76 | 65 6c 6f 70 65 72 20 54 |.+Z-.Dev|eloper T|
|00005970| 65 63 68 6e 69 63 61 6c | 20 53 75 70 70 6f 72 74 |echnical| Support|
|00005980| 00 28 00 2d 01 f0 0a 41 | 70 72 69 6c 20 31 39 39 |.(.-...A|pril 199|
|00005990| 34 00 00 20 00 2f 00 58 | 00 2f 02 1d 00 20 02 c1 |4.. ./.X|./... ..|
|000059a0| 00 58 02 c1 02 1d 00 28 | 02 d6 00 5a 22 50 61 72 |.X.....(|...Z"Par|
|000059b0| 74 69 61 6c 20 52 65 73 | 6f 75 72 63 65 20 4d 79 |tial Res|ource My|
|000059c0| 74 68 73 20 61 6e 64 20 | 4c 65 67 65 6e 64 73 00 |ths and |Legends.|
|000059d0| 00 28 02 d6 02 04 01 33 | 00 29 05 05 20 6f 66 20 |.(.....3|.).. of |
|000059e0| 35 00 00 28 02 ec 00 5a | 07 54 6f 6f 6c 62 6f 78 |5..(...Z|.Toolbox|
|000059f0| 00 2c 00 0a 00 16 07 43 | 6f 75 72 69 65 72 00 03 |.,.....C|ourier..|
|00005a00| 00 16 00 0d 00 0c 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00005a10| 00 64 00 00 00 48 00 5a | 00 54 00 a7 00 28 00 52 |.d...H.Z|.T...(.R|
|00005a20| 00 5a 0b 74 68 65 52 65 | 73 6f 75 72 63 65 00 03 |.Z.theRe|source..|
|00005a30| 00 14 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 00 0c |.....d..|ONLN.d..|
|00005a40| 00 49 00 b4 00 55 01 21 | 00 29 5a 17 41 20 68 61 |.I...U.!|.)Z.A ha|
|00005a50| 6e 64 6c 65 20 74 6f 20 | 61 20 72 65 73 6f 75 72 |ndle to |a resour|
|00005a60| 63 65 2e 00 00 03 00 16 | 00 a1 00 64 00 10 4f 4e |ce......|...d..ON|
|00005a70| 4c 4e 00 64 00 24 00 55 | 00 5a 00 61 00 84 00 28 |LN.d.$.U|.Z.a...(|
|00005a80| 00 5f 00 5a 06 6f 66 66 | 73 65 74 00 00 03 00 14 |._.Z.off|set.....|
|00005a90| 00 06 00 02 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00005aa0| 00 64 00 2b 00 56 00 b4 | 00 62 01 a3 00 29 5a 2f |.d.+.V..|.b...)Z/|
|00005ab0| 54 68 65 20 62 65 67 69 | 6e 6e 69 6e 67 20 6f 66 |The begi|nning of|
|00005ac0| 20 74 68 65 20 72 65 73 | 6f 75 72 63 65 20 73 75 | the res|ource su|
|00005ad0| 62 73 65 63 74 69 6f 6e | 20 74 6f 20 62 65 20 00 |bsection| to be .|
|00005ae0| 00 06 00 03 00 00 00 a1 | 00 64 00 10 4f 4e 4c 4e |........|.d..ONLN|
|00005af0| 00 64 00 5a 00 56 01 a3 | 00 62 02 1c 00 29 ef 17 |.d.Z.V..|.b...)..|
|00005b00| 72 65 61 64 2c 20 6d 65 | 61 73 75 72 65 64 20 69 |read, me|asured i|
|00005b10| 6e 20 62 79 74 65 73 00 | 00 06 00 00 00 00 00 a1 |n bytes.|........|
|00005b20| 00 64 00 10 4f 4e 4c 4e | 00 64 00 72 00 62 00 b4 |.d..ONLN|.d.r.b..|
|00005b30| 00 6e 01 5b 00 28 00 6b | 00 b4 23 66 72 6f 6d 20 |.n.[.(.k|..#from |
|00005b40| 74 68 65 20 62 65 67 69 | 6e 6e 69 6e 67 20 6f 66 |the begi|nning of|
|00005b50| 20 74 68 65 20 72 65 73 | 6f 75 72 63 65 2e 00 03 | the res|ource...|
|00005b60| 00 16 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 00 96 |.....d..|ONLN.d..|
|00005b70| 00 6e 00 5a 00 7a 00 84 | 00 28 00 78 00 5a 06 62 |.n.Z.z..|.(.x.Z.b|
|00005b80| 75 66 66 65 72 00 00 03 | 00 14 00 a1 00 64 00 10 |uffer...|.....d..|
|00005b90| 4f 4e 4c 4e 00 64 00 9d | 00 6f 00 b4 00 7b 01 ee |ONLN.d..|.o...{..|
|00005ba0| 00 29 5a 46 41 20 70 6f | 69 6e 74 65 72 20 74 6f |.)ZFA po|inter to|
|00005bb0| 20 74 68 65 20 62 75 66 | 66 65 72 20 69 6e 74 6f | the buf|fer into|
|00005bc0| 20 77 68 69 63 68 20 74 | 68 65 20 70 61 72 74 69 | which t|he parti|
|00005bd0| 61 6c 20 72 65 73 6f 75 | 72 63 65 20 69 73 20 74 |al resou|rce is t|
|00005be0| 6f 20 62 65 20 72 65 61 | 64 2e 00 03 00 16 00 a1 |o be rea|d.......|
|00005bf0| 00 64 00 10 4f 4e 4c 4e | 00 64 00 e4 00 7b 00 5a |.d..ONLN|.d...{.Z|
|00005c00| 00 87 00 7d 00 28 00 85 | 00 5a 05 63 6f 75 6e 74 |...}.(..|.Z.count|
|00005c10| 00 03 00 14 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00005c20| 00 ea 00 7c 00 b4 00 88 | 01 68 00 29 5a 26 54 68 |...|....|.h.)Z&Th|
|00005c30| 65 20 6c 65 6e 67 74 68 | 20 6f 66 20 74 68 65 20 |e length| of the |
|00005c40| 72 65 73 6f 75 72 63 65 | 20 73 75 62 73 65 63 74 |resource| subsect|
|00005c50| 69 6f 6e 2e 00 04 01 00 | 00 a1 00 64 00 10 4f 4e |ion.....|...d..ON|
|00005c60| 4c 4e 00 64 01 11 00 94 | 00 5a 00 a0 00 9b 00 28 |LN.d....|.Z.....(|
|00005c70| 00 9d 00 5a 0b 44 65 73 | 63 72 69 70 74 69 6f 6e |...Z.Des|cription|
|00005c80| 00 04 00 00 00 06 00 02 | 00 00 00 a1 00 64 00 10 |........|.....d..|
|00005c90| 4f 4e 4c 4e 00 64 01 1d | 00 a1 00 5a 00 ad 00 71 |ONLN.d..|...Z...q|
|00005ca0| 00 2a 0d 04 54 68 65 20 | 00 03 00 16 00 06 00 03 |.*..The |........|
|00005cb0| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 01 21 |.....d..|ONLN.d.!|
|00005cc0| 00 a0 00 71 00 ac 00 f6 | 00 29 17 13 52 65 61 64 |...q....|.)..Read|
|00005cd0| 50 61 72 74 69 61 6c 52 | 65 73 6f 75 72 63 65 00 |PartialR|esource.|
|00005ce0| 00 03 00 14 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00005cf0| 01 34 00 a1 00 f6 00 ad | 02 1c 00 29 85 3a 20 70 |.4......|...).: p|
|00005d00| 72 6f 63 65 64 75 72 65 | 20 72 65 61 64 73 20 74 |rocedure| reads t|
|00005d10| 68 65 20 72 65 73 6f 75 | 72 63 65 20 73 75 62 73 |he resou|rce subs|
|00005d20| 65 63 74 69 6f 6e 20 69 | 64 65 6e 74 69 66 69 65 |ection i|dentifie|
|00005d30| 64 20 62 79 20 74 68 65 | 00 03 00 16 00 06 00 02 |d by the|........|
|00005d40| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 01 6f |.....d..|ONLN.d.o|
|00005d50| 00 ad 00 5a 00 b9 00 a7 | 00 28 00 b7 00 5a 0b 74 |...Z....|.(...Z.t|
|00005d60| 68 65 52 65 73 6f 75 72 | 63 65 00 03 00 14 00 a1 |heResour|ce......|
|00005d70| 00 64 00 10 4f 4e 4c 4e | 00 64 01 7a 00 ae 00 a7 |.d..ONLN|.d.z....|
|00005d80| 00 ba 00 b0 00 29 4d 02 | 2c 20 00 03 00 16 00 a1 |.....)M.|, ......|
|00005d90| 00 64 00 10 4f 4e 4c 4e | 00 64 01 7c 00 ad 00 b0 |.d..ONLN|.d.|....|
|00005da0| 00 b9 00 da 00 29 09 06 | 6f 66 66 73 65 74 00 03 |.....)..|offset..|
|00005db0| 00 14 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 01 82 |.....d..|ONLN.d..|
|00005dc0| 00 ae 00 da 00 ba 00 f9 | 00 29 2a 06 2c 20 61 6e |........|.)*., an|
|00005dd0| 64 20 00 03 00 16 00 a1 | 00 64 00 10 4f 4e 4c 4e |d ......|.d..ONLN|
|00005de0| 00 64 01 88 00 ad 00 f9 | 00 b9 01 1c 00 29 1f 05 |.d......|.....)..|
|00005df0| 63 6f 75 6e 74 00 00 03 | 00 14 00 a1 00 64 00 10 |count...|.....d..|
|00005e00| 4f 4e 4c 4e 00 64 01 8d | 00 ae 01 1c 00 ba 01 9c |ONLN.d..|........|
|00005e10| 00 29 23 1a 20 70 61 72 | 61 6d 65 74 65 72 73 20 |.)#. par|ameters |
|00005e20| 69 6e 74 6f 20 61 20 62 | 75 66 66 65 72 20 00 06 |into a b|uffer ..|
|00005e30| 00 03 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00005e40| 01 a7 00 ae 01 9c 00 ba | 01 f2 00 29 80 11 73 70 |........|...)..sp|
|00005e50| 65 63 69 66 69 65 64 20 | 62 79 20 74 68 65 20 00 |ecified |by the .|
|00005e60| 00 03 00 16 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00005e70| 01 b8 00 ad 01 f2 00 b9 | 02 1c 00 29 56 06 62 75 |........|...)V.bu|
|00005e80| 66 66 65 72 00 03 00 14 | 00 06 00 01 00 00 00 a1 |ffer....|........|
|00005e90| 00 64 00 10 4f 4e 4c 4e | 00 64 01 bf 00 ba 00 5a |.d..ONLN|.d.....Z|
|00005ea0| 00 c6 01 fd 00 28 00 c3 | 00 5a 53 70 61 72 61 6d |.....(..|.ZSparam|
|00005eb0| 65 74 65 72 2e 20 59 6f | 75 72 20 61 70 70 6c 69 |eter. Yo|ur appli|
|00005ec0| 63 61 74 69 6f 6e 20 69 | 73 20 72 65 73 70 6f 6e |cation i|s respon|
|00005ed0| 73 69 62 6c 65 20 66 6f | 72 20 74 68 65 20 62 75 |sible fo|r the bu|
|00005ee0| 66 66 65 72 d5 73 20 6d | 65 6d 6f 72 79 20 6d 61 |ffer.s m|emory ma|
|00005ef0| 6e 61 67 65 6d 65 6e 74 | 2e 20 59 6f 75 20 00 06 |nagement|. You ..|
|00005f00| 00 02 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00005f10| 02 12 00 ba 01 fd 00 c6 | 02 1c 00 28 00 c3 01 fd |........|...(....|
|00005f20| 06 63 61 6e 6e 6f 74 00 | 00 06 00 00 00 00 00 a1 |.cannot.|........|
|00005f30| 00 64 00 10 4f 4e 4c 4e | 00 64 02 19 00 c7 00 5a |.d..ONLN|.d.....Z|
|00005f40| 00 d3 00 7e 00 28 00 d0 | 00 5a 08 75 73 65 20 74 |...~.(..|.Z.use t|
|00005f50| 68 65 20 00 00 03 00 16 | 00 a1 00 64 00 10 4f 4e |he .....|...d..ON|
|00005f60| 4c 4e 00 64 02 21 00 c6 | 00 7e 00 d2 00 e7 00 29 |LN.d.!..|.~.....)|
|00005f70| 24 0f 52 65 6c 65 61 73 | 65 52 65 73 6f 75 72 63 |$.Releas|eResourc|
|00005f80| 65 00 00 03 00 14 00 a1 | 00 64 00 10 4f 4e 4c 4e |e.......|.d..ONLN|
|00005f90| 00 64 02 30 00 c7 00 e7 | 00 d3 01 e4 00 29 69 35 |.d.0....|.....)i5|
|00005fa0| 20 70 72 6f 63 65 64 75 | 72 65 20 74 6f 20 72 65 | procedu|re to re|
|00005fb0| 6c 65 61 73 65 20 74 68 | 65 20 6d 65 6d 6f 72 79 |lease th|e memory|
|00005fc0| 20 74 68 65 20 62 75 66 | 66 65 72 20 6f 63 63 75 | the buf|fer occu|
|00005fd0| 70 69 65 73 2e 00 00 06 | 00 02 00 00 00 a1 00 64 |pies....|.......d|
|00005fe0| 00 10 4f 4e 4c 4e 00 64 | 02 66 00 e0 00 5a 00 ec |..ONLN.d|.f...Z..|
|00005ff0| 00 71 00 28 00 e9 00 5a | 04 54 68 65 20 00 00 03 |.q.(...Z|.The ...|
|00006000| 00 16 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 02 6a |.....d..|ONLN.d.j|
|00006010| 00 df 00 71 00 eb 00 f6 | 00 29 17 13 52 65 61 64 |...q....|.)..Read|
|00006020| 50 61 72 74 69 61 6c 52 | 65 73 6f 75 72 63 65 00 |PartialR|esource.|
|00006030| 00 03 00 14 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00006040| 02 7d 00 e0 00 f6 00 ec | 02 00 00 29 85 35 20 70 |.}......|...).5 p|
|00006050| 72 6f 63 65 64 75 72 65 | 20 61 6c 77 61 79 73 20 |rocedure| always |
|00006060| 74 72 69 65 73 20 74 6f | 20 72 65 61 64 20 72 65 |tries to| read re|
|00006070| 73 6f 75 72 63 65 73 20 | 66 72 6f 6d 20 64 69 73 |sources |from dis|
|00006080| 6b 2e 20 00 00 06 00 03 | 00 00 00 a1 00 64 00 10 |k. .....|.....d..|
|00006090| 4f 4e 4c 4e 00 64 02 b2 | 00 e0 02 00 00 ec 02 1c |ONLN.d..|........|
|000060a0| 00 28 00 e9 02 00 06 49 | 66 20 74 68 65 00 00 06 |.(.....I|f the...|
|000060b0| 00 00 00 00 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|000060c0| 02 b9 00 ed 00 5a 00 f9 | 00 7c 00 28 00 f6 00 5a |.....Z..|.|.(...Z|
|000060d0| 07 68 61 6e 64 6c 65 20 | 00 06 00 01 00 00 00 a1 |.handle |........|
|000060e0| 00 64 00 10 4f 4e 4c 4e | 00 64 02 c0 00 ed 00 7c |.d..ONLN|.d.....||
|000060f0| 00 f9 00 cd 00 29 22 11 | 69 6e 20 74 68 65 20 70 |.....)".|in the p|
|00006100| 61 72 61 6d 65 74 65 72 | 20 00 00 03 00 16 00 a1 |arameter| .......|
|00006110| 00 64 00 10 4f 4e 4c 4e | 00 64 02 d1 00 ec 00 cd |.d..ONLN|.d......|
|00006120| 00 f8 01 1a 00 29 51 0b | 74 68 65 52 65 73 6f 75 |.....)Q.|theResou|
|00006130| 72 63 65 00 00 03 00 14 | 00 a1 00 64 00 10 4f 4e |rce.....|...d..ON|
|00006140| 4c 4e 00 64 02 dc 00 ed | 01 1a 00 f9 02 1c 00 29 |LN.d....|.......)|
|00006150| 4d 36 20 64 6f 65 73 6e | d5 74 20 72 65 66 65 72 |M6 doesn|.t refer|
|00006160| 20 74 6f 20 61 20 72 65 | 73 6f 75 72 63 65 20 69 | to a re|source i|
|00006170| 6e 20 61 6e 20 6f 70 65 | 6e 20 72 65 73 6f 75 72 |n an ope|n resour|
|00006180| 63 65 20 66 6f 72 6b 2c | 00 03 00 16 00 06 00 00 |ce fork,|........|
|00006190| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 03 13 |.....d..|ONLN.d..|
|000061a0| 00 f9 00 5a 01 05 00 92 | 00 28 01 03 00 5a 08 52 |...Z....|.(...Z.R|
|000061b0| 65 73 45 72 72 6f 72 00 | 00 03 00 14 00 a1 00 64 |esError.|.......d|
|000061c0| 00 10 4f 4e 4c 4e 00 64 | 03 1b 00 fa 00 92 01 06 |..ONLN.d|........|
|000061d0| 01 00 00 29 38 19 20 72 | 65 74 75 72 6e 73 20 74 |...)8. r|eturns t|
|000061e0| 68 65 20 72 65 73 75 6c | 74 20 63 6f 64 65 20 00 |he resul|t code .|
|000061f0| 00 03 00 16 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|00006200| 03 34 00 f9 01 00 01 05 | 01 4d 00 29 6e 0b 72 65 |.4......|.M.)n.re|
|00006210| 73 4e 6f 74 46 6f 75 6e | 64 00 00 03 00 14 00 a1 |sNotFoun|d.......|
|00006220| 00 64 00 10 4f 4e 4c 4e | 00 64 03 3f 00 fa 01 4d |.d..ONLN|.d.?...M|
|00006230| 01 06 01 51 00 29 4d 01 | 2e 00 00 a1 00 64 00 10 |...Q.)M.|.....d..|
|00006240| 4f 4e 4c 4e 00 64 03 41 | 01 13 00 5a 01 1f 01 6a |ONLN.d.A|...Z...j|
|00006250| 00 28 01 1c 00 5a 3a 57 | 68 65 6e 20 75 73 69 6e |.(...Z:W|hen usin|
|00006260| 67 20 70 61 72 74 69 61 | 6c 20 72 65 73 6f 75 72 |g partia|l resour|
|00006270| 63 65 20 72 6f 75 74 69 | 6e 65 73 2c 20 79 6f 75 |ce routi|nes, you|
|00006280| 20 73 68 6f 75 6c 64 20 | 63 61 6c 6c 20 74 68 65 | should |call the|
|00006290| 20 00 00 03 00 16 00 06 | 00 01 00 00 00 a1 00 64 | .......|.......d|
|000062a0| 00 10 4f 4e 4c 4e 00 64 | 03 7b 01 12 01 6a 01 1e |..ONLN.d|.{...j..|
|000062b0| 01 b0 00 28 01 1c 01 6a | 0a 53 65 74 52 65 73 4c |...(...j|.SetResL|
|000062c0| 6f 61 64 00 00 03 00 14 | 00 a1 00 64 00 10 4f 4e |oad.....|...d..ON|
|000062d0| 4c 4e 00 64 03 85 01 13 | 01 b0 01 1f 02 1c 00 29 |LN.d....|.......)|
|000062e0| 46 16 20 70 72 6f 63 65 | 64 75 72 65 2c 20 73 70 |F. proce|dure, sp|
|000062f0| 65 63 69 66 79 69 6e 67 | 00 03 00 16 00 06 00 02 |ecifying|........|
|00006300| 00 00 00 a1 00 64 00 10 | 4f 4e 4c 4e 00 64 03 9c |.....d..|ONLN.d..|
|00006310| 01 1f 00 5a 01 2b 00 7d | 00 28 01 29 00 5a 05 46 |...Z.+.}|.(.).Z.F|
|00006320| 41 4c 53 45 00 03 00 14 | 00 a1 00 64 00 10 4f 4e |ALSE....|...d..ON|
|00006330| 4c 4e 00 64 03 a1 01 20 | 00 7d 01 2c 01 32 00 29 |LN.d... |.}.,.2.)|
|00006340| 23 24 20 66 6f 72 20 74 | 68 65 20 6c 6f 61 64 20 |#$ for t|he load |
|00006350| 70 61 72 61 6d 65 74 65 | 72 2c 20 62 65 66 6f 72 |paramete|r, befor|
|00006360| 65 20 79 6f 75 20 00 06 | 00 03 00 00 00 a1 00 64 |e you ..|.......d|
|00006370| 00 10 4f 4e 4c 4e 00 64 | 03 c5 01 20 01 32 01 2c |..ONLN.d|... .2.,|
|00006380| 01 48 00 29 b5 05 63 61 | 6c 6c 20 00 00 03 00 16 |.H.)..ca|ll .....|
|00006390| 00 a1 00 64 00 10 4f 4e | 4c 4e 00 64 03 ca 01 1f |...d..ON|LN.d....|
|000063a0| 01 48 01 2b 01 95 00 29 | 16 0b 47 65 74 52 65 73 |.H.+...)|..GetRes|
|000063b0| 6f 75 72 63 65 00 00 03 | 00 14 00 a1 00 64 00 10 |ource...|.....d..|
|000063c0| 4f 4e 4c 4e 00 64 03 d5 | 01 20 01 95 01 2c 01 d6 |ONLN.d..|. ...,..|
|000063d0| 00 29 4d 0c 2e 20 55 73 | 69 6e 67 20 74 68 65 20 |.)M.. Us|ing the |
|000063e0| 00 03 00 16 00 a1 00 64 | 00 10 4f 4e 4c 4e 00 64 |.......d|..ONLN.d|
|000063f0| 03 e1 01 1f 01 d6 01 2b | 02 1c 00 29 41 0a 53 65 |.......+|...)A.Se|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.